def Yaml.pend_null

bend-kube-runtime@0.2.0.0 · src/yaml.bend:683

import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J

683def Yaml.pend_null(p: Maybe<&2, String>, ms: List<&2, J.KV>) -> List<&2, J.KV>:
684  match p:
685    case Some{k}:
686      J.KV{k, J.JNull{}} <> ms
687    case None{}:
688      ms

Uses (5)

Used by (1)