Instance Property

endIndex

The collection’s “past the end” position—that is, the position one greater than the last valid subscript argument.

Declaration

var endIndex: AnyBidirectionalCollection<Element>.Index { get }

Discussion

endIndex is always reachable from startIndex by zero or more applications of index(after:).

Relationships