def upper.result

mylsm-lsm-store@0.6.0.1 · src/scan/ByteRange.bend:33

import mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend as ByteRange
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

33# Returns whether a key sorts strictly below an optional upper bound.
34def upper.result(comparison: Bytes.Bytes & Bytes.Bytes & Cmp) -> Bool:
35  match comparison:
36    case (_, _, LT{}):
37      True{}
38    case _:
39      False{}

Uses (5)

Used by (1)