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