Setwrite.fmt.val: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/setwrite.bend as Setwrite Lines 199-211 of cswap-bend-cli@0.1.0.0/setwrite.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/setwrite.bend&start_line=199&end_line=211 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/settings.bend as Settings # format_setting_value def fmt.val(isfloat: Bool, j: Json.Json) -> String: match j: case Json.JNull{}: "(none)" case Json.JBool{b}: Settings.sel.s(b, "true", "false") case Json.JNum{t}: fmt.num(isfloat, t) case Json.JStr{s}: s case _: "" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/settings.bend&name=sel.s https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/setwrite.bend&name=fmt.num