Instance Method

formIndex(before:)

Replaces the given index with its predecessor.

Declaration

func formIndex(before i: inout DefaultIndices<Elements>.Index)
Available when Elements conforms to BidirectionalCollection.

Parameters

i

A valid index of the collection. i must be greater than startIndex.

Discussion