Discussion 解説
An empty Range
instance has equal lower and upper bounds.
空のRange
インスタンスは、等しい下方および上方境界を持ちます。
let empty: Range = 10..<10
print(empty.isEmpty)
// Prints "true"
Availability
Technology
var isEmpty: Bool
{ get }
An empty Range
instance has equal lower and upper bounds.
空のRange
インスタンスは、等しい下方および上方境界を持ちます。
let empty: Range = 10..<10
print(empty.isEmpty)
// Prints "true"
let lowerBound : Bound
let upperBound : Bound