Contents

formIndex(before:)

Replaces the given index with its predecessor.

Declaration

func formIndex(before index: inout Int)

Parameters

  • index:

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

Discussion