Yaml.Flow.ends: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml Lines 513-515 of bend-kube-runtime@0.2.0.0/src/yaml.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/yaml.bend&start_line=513&end_line=515 import Base # A plain scalar ends at a closer, or at ':' before a space or a closer. def Flow.ends(+c: Char, +nxt: Char) -> Bool: Bool.or(Flow.closer(c), Bool.and(Char.is_eq(c, ':'), Bool.or(Char.is_space(nxt), Flow.closer(nxt)))) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_space https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/yaml.bend&name=Flow.closer