def opt_json

cswap-bend-cli@0.1.0.0 · profview.bend:31

import cswap-bend-cli@0.1.0.0/profview.bend as Profview
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

31def opt_json(+m: Maybe<&2, Json.Json>) -> Json.Json:
32  match m:
33    case Some{j}:
34      j
35    case None{}:
36      Json.JNull{}

Uses (2)

Used by (4)