Protocolswift 6.1.2Swift
RangeExpression
A type that can be used to slice a collection.
protocol RangeExpression<Bound>Browse conforming typesA type that conforms to RangeExpression can convert itself to a Range<Bound> of indices within a given collection.