is_digit
function · ferroui-base · v0.5.0
fn is_digit(c: char) -> bool
Decimal digit test (Unicode general category Nd).
Deviation: the standard library cannot tell Nd from No, so non-ASCII "other number" characters (superscripts, fractions, circled numbers) are reported as digits too.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.