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