Config.clamp: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config Lines 25-26 of cswap-bend-cli@0.1.0.0/daemon/config.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&start_line=25&end_line=26 import Base def clamp(+v: U32, +lo: U32, +hi: U32) -> U32: sel_u(U32.is_lt(v, lo), lo, sel_u(U32.is_gt(v, hi), hi, v)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_gt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=sel_u