Compose.is_merge: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/compose.bend as Compose Lines 281-291 of yaml-for-bend@0.1.1.0/compose.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/compose.bend&start_line=281&end_line=291 import Base import yaml-for-bend@0.1.1.0/parse.bend as P import yaml-for-bend@0.1.1.0/core.bend as C # Whether a scalar is YAML 1.1's merge key: "<<" plain, or tagged !!merge. def is_merge(s: Schema, t: P.Tag, +text: String, +plain: Bool) -> Bool: match s: case Core{}: False{} case Yaml11{}: match t: case P.NoTag{}: Bool.and(plain, String.eq(text, "<<")) case P.Tag{n}: String.eq(n, C.yaml.tag("merge")) 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/compose.bend&name=Schema https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=yaml.tag https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/parse.bend&name=Tag