Function std::char::is_digit

pub fn is_digit(c: char) -> bool

Indicates whether the character is numeric (Nd, Nl, or No)