Is Letter Or Digit
Characters
The Is Letter Or Digit
node takes in a character literal and returns if that character is a letter or a digit. Letter characters are letters that have a letter value to them and is not a symbol, number, or whitespace. Digit characters are numbers that have a numeric value to them and is not a symbol.
Examples
An easy way to remember this is: All digits are numbers, but not all numbers are digits.
- ½, ①, 1, 2, 3 count as numbers. - 1, 2, 3 count as digits.
Inputs
Character (char)
The character literal to check.
Outputs
* (bool)
Returns if this is a letter or a digit.
See Also
Microsoft Documentation about the Char.IsDigit method. [1]
List of Unicode Characters of Category “Decimal Number”. [2]
List of Unicode Characters of Category “Letter Number”. [3]