Importu.name.keep: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/importu.bend as Importu Lines 149-154 of cswap-bend-cli@0.1.0.0/importu.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&start_line=149&end_line=154 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def name.keep(empty: Bool, +n: String, +label: String, out: Json.Json) -> Result<&2, &2, String, Json.Json>: match empty: case True{}: Fail{label ++ ".name must be a non-empty string"} case False{}: Done{Json.set("name", Json.JStr{n}, out)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append 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/json.bend&name=set