Instance Propertyswift 6.1.2Swift
endIndex
The collection’s “past the end” position—that is, the position one greater than the last valid subscript argument.
var endIndex: LazySequence<Base>.Index { get }endIndex is always reachable from startIndex by zero or more applications of index(after:).