Replaces the given index with its predecessor.
SDK
- Xcode 9.3+
Framework
- Swift Standard Library
Declaration
func formIndex(before i: inout Int)
Parameters
iA valid index of the collection.
imust be greater thanstart.Index
Discussion
Note
This documentation comment was inherited from Bidirectional.