def Yaml.marker

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

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

985def Yaml.marker(s: String, +kind: Char) -> Maybe<&2, String>:
986  match s:
987    case SCon{Chr{+c}, SCon{+k, n}}:
988      Yaml.marker.go(n, Bool.and(U32.is_eq(c, 0), Char.is_eq(k, kind)))
989    case _:
990      None{}

Uses (7)

Used by (2)