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...") |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
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 | + | <!--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>. | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> | ||
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