Instance Property

startIndex

The position of the first element in a nonempty collection.

Declaration

var startIndex: Int { get }

Discussion

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