Returns a half-open range that contains its lower bound but not its upper bound.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 9.3+
The lower bound for the range.
The upper bound for the range.
Use the half-open range operator (
..<) to create a range of any type that conforms to the
Comparable protocol. This example creates a
Range<Double> from zero up to, but not including, 5.0.