Instance Property

startIndex

The position of the first element in a nonempty collection.

Declaration

Current

var startIndex: DefaultIndices<Elements>.Index { get }

Previous

var startIndex: Elements.Index { get }

Discussion

If the collection is empty, startIndex is equal to endIndex.