pub fn is_base_digit(ch: &str, base: u8) -> Result<bool, Error>
Returns true if the single-character string is a valid digit in the standard alphabet for the given base.