def known

yaml-for-bend@0.1.1.0 · core.bend:138

import yaml-for-bend@0.1.1.0/core.bend as Core
import Base

138# The tags whose text the Core schema reads: "!", !!str, !!null, !!bool,
139# !!int and !!float.
140def known(+tag: String) -> Bool:
141  Bool.or(Bool.or(String.eq(tag, "!"), String.eq(tag, yaml.tag("str"))),
142    Bool.or(Bool.or(String.eq(tag, yaml.tag("null")), String.eq(tag, yaml.tag("bool"))), Bool.or(String.eq(tag, yaml.tag("int")), String.eq(tag, yaml.tag("float")))))

Uses (5)

Used by (1)