def uri.hex.valid

gralha-bytes@0.1.0.1 · bytes.bend:403

import gralha-bytes@0.1.0.1/bytes.bend as Bytes
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

403def uri.hex.valid(+c: U32) -> Bool:
404  U.digit(c) || (U32.is_ge(c, 65) && U32.is_le(c, 70)) || (U32.is_ge(c, 97) && U32.is_le(c, 102))

Uses (7)

Used by (2)