def Yaml.unquote_key

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

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

639def Yaml.unquote_key(+k: String) -> String:
640  match k:
641    case SCon{'"', t}:
642      Yaml.strip_ends(k)
643    case SCon{'\'', t}:
644      Yaml.strip_ends(k)
645    case x:
646      x

Uses (7)

Used by (1)