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