lexical_util::digit

Function char_is_digit_const

Source
pub const fn char_is_digit_const(c: u8, radix: u32) -> bool
Expand description

Determine if a character is a digit with a radix known at compile time.