def hex.is_digit

gralha-http-core@0.1.0.0 · http.bend:120

import gralha-http-core@0.1.0.0/http.bend as Http
import Base

120def hex.is_digit(+c: U32) -> Bool:
121  (U32.is_ge(c, 48) && U32.is_le(c, 57)) || (U32.is_ge(c, 65) && U32.is_le(c, 70))
122    || (U32.is_ge(c, 97) && U32.is_le(c, 102))

Uses (6)

Used by (1)