Range.empty

Checks if the range is empty.

Arguments

None

Return values

condition
TRUE if there are no entries, FALSE otherwise.

Complexity

Constant

Example

"sl/redBlackTree" useFile rb: ((1 "ONE") (2 "TWO") (10 "TEN") (50 "FIFTY")) makeRedBlackTree; r: 20 40 rb.makeRange.bound; r.empty print
Output:
TRUE