Difference between revisions of "Is Digit (LogiX node)"
Jump to navigation
Jump to search
m (nd delegation) |
(Marked this version for translation) |
||
Line 15: | Line 15: | ||
This node takes a character input and outputs a boolean. | This node takes a character input and outputs a boolean. | ||
+ | <!--T:6--> | ||
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>. | 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>. | ||
Line 20: | Line 21: | ||
In the following picture, "5" is a digit and outputs <code>true</code>. "G" is not a digit and therefore outputs <code>false</code> | In the following picture, "5" is a digit and outputs <code>true</code>. "G" is not a digit and therefore outputs <code>false</code> | ||
+ | <!--T:7--> | ||
[[File:Logix Example IsDigit.png|442px]] | [[File:Logix Example IsDigit.png|442px]] | ||
Latest revision as of 02:15, 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