index(after:)
Returns the position immediately after the given index.
Declaration
func index(after i: Int) -> IntParameters
- i:
A valid index of the collection.
imust be less thanendIndex.
Return Value
The index immediately after i.
Returns the position immediately after the given index.
func index(after i: Int) -> IntA valid index of the collection. i must be less than endIndex.
The index immediately after i.