def is_scalar.value

yaml-for-bend@0.1.1.0 · scan.bend:850

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base

850# A code point that is a character: not a surrogate, and at most 10FFFF.
851def is_scalar.value(+x: U32) -> Bool:
852  Bool.and(Bool.not(between(x, 55296, 57343)), U32.is_le(x, 1114111))

Uses (6)

Used by (1)