def Yaml.result

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

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

935def Yaml.result(st: List<&2, YFrame>) -> J.Json:
936  match st:
937    case Con{YRoot{v}, t}:
938      v
939    case Con{f, t}:
940      Yaml.value(f)
941    case Nil{}:
942      J.JNull{}

Uses (4)

Used by (1)