def digit

emerging-ezhttp@0.21.0.0 · src/unescape.bend:47

import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape
import Base

47# a character's value as a digit in a base, or 16 when it is not one
48def digit(hex: Bool, c: Char) -> U32:
49  digit.of(hex, Char.to_u32(c))

Uses (5)

Used by (1)