Instance Propertyswift 6.0.3Swift

startIndex

The position of the first element in a nonempty collection.

var startIndex: Repeated<Element>.Index { get }

In a Repeated collection, startIndex is always equal to zero. If the collection is empty, startIndex is equal to endIndex.