startIndex
The position of the first element in a nonempty array.
Declaration
var startIndex: Int { get }Discussion
For an instance of Array, startIndex is always zero. If the array is empty, startIndex is equal to endIndex.
The position of the first element in a nonempty array.
var startIndex: Int { get }For an instance of Array, startIndex is always zero. If the array is empty, startIndex is equal to endIndex.