def as_bool

cswap-bend-cli@0.1.0.0 · json.bend:321

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

321def as_bool(j: Json) -> Maybe<&2, Bool>:
322  match j:
323    case JBool{b}:
324      Some{b}
325    case _:
326      None{}

Uses (3)

Used by (1)