Json.unwrap: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/json.bend as Json Lines 450-457 of cswap-bend-cli@0.1.0.0/json.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/json.bend&start_line=450&end_line=457 import Base # The value of a parse that must have worked; JNull when it did not. For # tests and constants, not for untrusted text. def unwrap(+r: Result<&2, &2, String, Json>) -> Json: match r: case Done{v}: v case Fail{e}: JNull{} Uses (3): 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/json.bend&name=Json