def above.thr

cswap-bend-cli@0.1.0.0 · policy/rank.bend:190

import cswap-bend-cli@0.1.0.0/policy/rank.bend as Rank
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

190def above.thr(+h: Nat, +thr: Nat) -> Bool:
191  Nat.is_ge(Nat.sub(T.full(), h), thr)

Uses (5)

Used by (2)