On this page
SafetyTier...<(_:_:)
- Declared in
- SafetyTier
- Package
- libtmux-swift
-
Returns a half-open range that contains its lower bound but not its upper bound.
Use the half-open range operator (`..<
) to create a range of any type that conforms to theComparableprotocol. This example creates aRange<Double>` from zero up to, but not including, 5.0.let lessThanFive = 0.0..<5.0 print(lessThanFive.contains(3.14)) // Prints "true" print(lessThanFive.contains(5.0)) // Prints "false"
- Parameters:
- minimum: The lower bound for the range.
- maximum: The upper bound for the range.
- Precondition: `minimum <= maximum`.
- Parameters:
0 declared, 0 inherited