def near

bend-kit-collections@0.1.4.1 · nat_order.bend:251

import bend-kit-collections@0.1.4.1/nat_order.bend as NatOrder
import Base

251def near(+a: Nat, +b: Nat) -> Bool:
252  Bool.and(Nat.is_le(a, 1n+b), Nat.is_le(b, 1n+a))

Uses (4)

Used by (15)