def Yaml.ctl

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

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

712# Whether s starts with the control char of code n.
713def Yaml.ctl(s: String, +n: U32) -> Bool:
714  match s:
715    case SCon{Chr{+c}, t}:
716      U32.is_eq(c, n)
717    case _:
718      False{}

Uses (5)

Used by (1)