Instance Propertyswift 6.0.1Swift
lowerBound
The range’s lower bound.
let lowerBound: Bound
In an empty range, lowerBound
is equal to upperBound
.
Other members in extension
Type members
init(uncheckedBounds: (lower: Bound, upper: Bound)
) Creates an instance with the given bounds.
Instance members
var isEmpty: Bool
A Boolean value indicating whether the range contains no elements.
let upperBound: Bound
The range’s upper bound.
func contains(Bound
) -> Bool Returns a Boolean value indicating whether the given element is contained within the range.