Instance MethodSwift

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 than startIndex.