formIndex(before:)
Replaces the given index with its predecessor.
func formIndex(before i: inout Int)
Parameters
- i
A valid index of the collection.
i
must be greater thanstartIndex
.
Replaces the given index with its predecessor.
func formIndex(before i: inout Int)
A valid index of the collection. i
must be greater than startIndex
.