def is_null

ezmcp@0.1.0.0 · src/openapi.bend:201

import ezmcp@0.1.0.0/src/openapi.bend as Openapi
import Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value

201# whether a value is JSON null
202def is_null(val: Value.Json) -> Bool:
203  match val:
204    case Value.JNull{}:
205      True{}
206    case other:
207      False{}

Uses (2)

Used by (2)