endIndex
The collection’s “past the end” position–that is, the position one greater than the last valid subscript argument.
Declaration
var endIndex: Int { get }The collection’s “past the end” position–that is, the position one greater than the last valid subscript argument.
var endIndex: Int { get }