Instance Property

startIndex

The position of the first element in a nonempty collection.

Declaration

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

Discussion

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