index(before:)
Returns the position immediately before the given index.
Declaration
borrowing func index(before i: InlineArray<count, Element>.Index) -> InlineArray<count, Element>.IndexParameters
- i:
A valid index of the array.
imust be greater thanstartIndex.
Return Value
The index value immediately before i.