Instance Property

lowerBound

The range’s lower bound.

Declaration

let lowerBound: Bound

Discussion

In an empty range, lowerBound is equal to upperBound.

See Also

Inspecting a Range

var isEmpty: Bool

A Boolean value indicating whether the range contains no elements.

var count: Int

The number of elements in the collection.

let upperBound: Bound

The range’s upper bound.