Returns the position immediately after the given index.
SDK
Framework
On This Page
func index(after i: Int) -> Int
i
A valid index of the collection. i must be less than endIndex.
endIndex
The index immediately after i.
BidirectionalCollection
Collection
RandomAccessCollection