Setimp.top_obj: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/setimp.bend as Setimp Lines 312-317 of cswap-bend-cli@0.1.0.0/setimp.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/setimp.bend&start_line=312&end_line=317 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/fmt/yscal.bend as S def top_obj(+doc: Json.Json) -> Result<&2, &2, String, Json.Json>: match doc: case Json.JObj{f}: S.wrap.obj(top(f)) case _: Fail{"the settings document must be a mapping of keys to values"} Uses (5): 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=cswap-bend-cli@0.1.0.0/fmt/yscal.bend&name=wrap.obj 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/setimp.bend&name=top