def Yaml.item.value.go

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

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

868def Yaml.item.value.go(st: List<&2, YFrame>, +a: String, +r: String, empty: Bool) -> List<&2, YFrame>:
869  match st empty:
870    case Con{YSeq{i, xs, p}, t} True{}:
871      YSeq{i, xs, Some{a}} <> t
872    case x _:
873      Yaml.give(Yaml.wrap(a, Yaml.scalar(r)), x)

Uses (8)

Used by (1)