def num.of

cswap-bend-cli@0.1.0.0 · profile.bend:338

import cswap-bend-cli@0.1.0.0/profile.bend as Profile
import Base

338# A number key: "inherit" clears it, anything else is range-checked as
339# `cswap config set` checks the matching setting.
340def num.of(+key: String, +raw: String, +lo: String, +hi: String) -> NumRes:
341  num.pick(String.eq(raw, "inherit"), key, raw, lo, hi)

Uses (4)

Used by (1)