index(after:)
Returns the position immediately after the given index.
Declaration
@MainActor @preconcurrency func index(after i: Int) -> IntParameters
- i:
A valid index of the collection. Use a value less than Endindex.
Return Value
The index value immediately after i.