def is_scalar.value
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport 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))