Instance Property

startIndex

The position of the first element in a nonempty collection.

Declaration

var startIndex: Base.Index { get }
Available when Base conforms to Collection.

Discussion

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

Relationships