Type Alias


A type that represents a position in the range.


typealias Index = Bound
Available when Bound conforms to Strideable and Bound.Stride conforms to SignedInteger.

See Also

Supporting Types

typealias Range.Element

A type representing the sequence’s elements.

typealias Range.Indices

A type that represents the indices that are valid for subscripting the collection, in ascending order.

typealias Range.Iterator

A type that provides the sequence’s iteration interface and encapsulates its iteration state.

typealias Range.SubSequence

A sequence that represents a contiguous subrange of the collection’s elements.