def clamp
import minebender-game@1.0.0.0/game.bend as Gameimport Base
97def clamp(lo: Nat, hi: Nat, x: Nat) -> Nat:
98 Nat.max(lo, Nat.min(hi, x))
import minebender-game@1.0.0.0/game.bend as Gameimport Base
97def clamp(lo: Nat, hi: Nat, x: Nat) -> Nat:
98 Nat.max(lo, Nat.min(hi, x))