Bar.gt_land: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/policy/bar.bend as Bar Lines 33-39 of cswap-bend-cli@0.1.0.0/policy/bar.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/policy/bar.bend&start_line=33&end_line=39 import Base import cswap-bend-cli@0.1.0.0/policy/types.bend as T # h > 100 - threshold: would the ranking accept it as a landing spot? def gt_land(+h: Maybe<&2, Nat>, +thr: Nat) -> Bool: match h: case None{}: False{} case Some{x}: Nat.is_gt(x, Nat.sub(T.full(), thr)) Uses (6): 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=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_gt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=full