ByteRange.at_or_after_upper: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend as ByteRange Lines 54-59 of mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&start_line=54&end_line=59 import Base import mylsm-lsm-store@0.6.0.1/src/Keys.bend as Keys import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Detects the first ordered key that cannot belong to a half-open range. def at_or_after_upper(key: Bytes.Bytes, bound: Maybe<&1, Bytes.Bytes>) -> Bool: match bound: case None{}: False{} case Some{value}: at_or_after_upper.result(Keys.Bytes.cmp.with_inputs(key, value)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Keys.bend&name=Bytes.cmp.with_inputs https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&name=at_or_after_upper.result