def reserved

cswap-bend-cli@0.1.0.0 · fmt/ylex.bend:116

import cswap-bend-cli@0.1.0.0/fmt/ylex.bend as Ylex
import Base

116# Words YAML 1.1 and 1.2 readers turn into another type.
117def reserved(+low: String) -> Bool:
118  is_null_word(low) || is_bool_word(low) || word_is(low, "yes") || word_is(low, "no") || word_is(low, "on") || word_is(low, "off") || word_is(low, "y") || word_is(low, "n")

Uses (6)

Used by (1)