ProtoFlux:Is Digit

From Resonite Wiki
Revision as of 20:05, 28 April 2024 by Yosh (talk | contribs) (the silly (cleanup))
Is Digit
Character
*
Characters

The Is Digit node takes in a character literal and returns if that character is a digit. Digit characters are numbers that have a numeric value to them and is not a symbol.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns if Character is a digit. Digits recognized by this node are given The delegation Nd in Unicode

Examples

An easy way to remember the difference between this node and the Is Number node is: All digits are numbers, but not all numbers are digits.

  • ½, ①, 1, 2, 3 all count as numbers.
  • 1, 2, 3 count as digits.

See Also