Num.from_opt: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/num.bend as Num Lines 148-153 of cswap-bend-cli@0.1.0.0/tui/num.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/tui/num.bend&start_line=148&end_line=153 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def from_opt(+m: Maybe<&2, Json.Json>) -> Json.Json: match m: case None{}: Json.JNull{} case Some{j}: j Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json