def clamp
import bend-collections@1.0.0.0/src/math/natural.bend as Naturalimport Base
347def clamp(+x: Nat, +lo: Nat, +hi: Nat) -> Result<&2, &2, MathError, Nat>:
348 clamp_ok(x, lo, hi, Nat.is_lt(hi, lo))
Uses (5)
Used by (0)
No other definition uses this definition.