Returns the position immediately before the given index.
Required. Default implementation provided.
SDK
- Xcode 10.0+
Framework
- Swift Standard Library
Declaration
override func index(before i: Self.Index) -> Self.Index
Parameters
iA valid index of the collection.
imust be greater thanstart.Index
Return Value
The index value immediately before i.