RangeExpression

A type that can be used to slice a collection.

protocol RangeExpression<Bound>
Browse conforming types

A type that conforms to RangeExpression can convert itself to a Range<Bound> of indices within a given collection.