endIndex
The array’s “past the end” position—that is, the position one greater than the last valid subscript argument. This is always equal to array’s count.
Declaration
var endIndex: Int { get }The array’s “past the end” position—that is, the position one greater than the last valid subscript argument. This is always equal to array’s count.
var endIndex: Int { get }