def hex.ok
import emerging-ezjson@1.3.0.0/src/lex.bend as Leximport Base
121def hex.ok(+cp: U32) -> Bool:
122 Bool.or(Bool.and(U32.is_ge(cp, 48), U32.is_le(cp, 57)),
123 Bool.or(Bool.and(U32.is_ge(cp, 65), U32.is_le(cp, 70)),
124 Bool.and(U32.is_ge(cp, 97), U32.is_le(cp, 102))))