Instance Method インスタンスメソッド

formIndex(before:)

Replaces the given index with its predecessor. 与えられたインデックスをそれの前のものと取り替えます。

Declaration 宣言

func formIndex(before i: inout Base.Index)
Available when Base conforms to BidirectionalCollection. BaseBidirectionalCollectionに準拠する時に利用可能です。

Parameters パラメータ

i

A valid index of the collection. i must be greater than startIndex. そのコレクションの有効なインデックス。istartIndexより大きくなければなりません。

Discussion 解説