Difference between revisions of "Is Digit (LogiX node)"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Is Digit | Image = noframe | 128px | 'Is Digit' LogiX node | Input0Typ...") |
m (nd delegation) |
||
Line 10: | Line 10: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Is Digit''' node takes a character and outputs <code>true</code> or <code>false</code> depending on if the character is | + | The '''Is Digit''' node takes a character and outputs <code>true</code> or <code>false</code> depending on if the character is classified as a digit in Unicode. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
This node takes a character input and outputs a boolean. | This node takes a character input and outputs a boolean. | ||
− | If the character is | + | If the character is given the [https://www.fileformat.info/info/unicode/category/Nd/list.htm delegation <code>Nd</code> in Unicode], this node will output <code>true</code>. Otherwise, it will output <code>false</code>. |
== Examples == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 00:36, 11 September 2022
Is Digit | ||
---|---|---|
Inputs | ||
Char | Character | |
Outputs | ||
Bool | * |
The Is Digit node takes a character and outputs true
or false
depending on if the character is classified as a digit in Unicode.
Usage
This node takes a character input and outputs a boolean.
If the character is given the delegation Nd
in Unicode, this node will output true
. Otherwise, it will output false
.
Examples
In the following picture, "5" is a digit and outputs true
. "G" is not a digit and therefore outputs false