def bounds

bendtorch-core@0.1.0.0 · src/storage/main.bend:12

import bendtorch-core@0.1.0.0/src/storage/main.bend as BendtorchCore
import Base
import bendtorch-core@0.1.0.0/src/storage/model.bend as Model

12def bounds(+d: Nat, +n: Nat) -> Bool:
13  Bool.and(Nat.is_le(d, 20n), Bool.and(Nat.is_lt(0n, n), Nat.is_le(n, Model.capacity(d))))

Uses (6)

Used by (186)