Compose.as.number: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/compose.bend as Compose Lines 293-300 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=293&end_line=300 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's text is read as a number: plain without a tag, or # tagged !!int or !!float. def as.number(t: P.Tag, +plain: Bool) -> Bool: match t: case P.NoTag{}: plain case P.Tag{+n}: Bool.or(String.eq(n, C.yaml.tag("int")), String.eq(n, C.yaml.tag("float"))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or 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/core.bend&name=yaml.tag https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/parse.bend&name=Tag