def Yaml.block.body

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

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

179def Yaml.block.body(lines: List<&2, String>, folded: Bool) -> String:
180  match folded:
181    case True{}:
182      Yaml.fold(lines, False{})
183    case False{}:
184      String.join(lines, "\n")

Uses (5)

Used by (1)