The position of the first element in a nonempty collection.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
var startIndex: Int { get }
Discussion
If the collection is empty, start is equal to end.
Note
This documentation comment was inherited from Collection.