A type that can be used to slice a collection.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
protocol RangeExpression
Overview
A type that conforms to Range
can convert itself to a Range<Bound>
of indices within a given collection.