State.obj_or_empty: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/state.bend as State Lines 34-39 of cswap-bend-cli@0.1.0.0/daemon/state.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/state.bend&start_line=34&end_line=39 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def obj_or_empty(+j: Json.Json) -> Json.Json: match j: case Json.JObj{f}: j case _: empty() Uses (2): https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/state.bend&name=empty https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json