Create a page for the Is Symbol node. |
m fixup |
||
Line 12: | Line 12: | ||
|}} | |}} | ||
The <code>Is Symbol</code> node takes in a character literal and returns if that character is a symbol | The <code>Is Symbol</code> node takes in a character literal and returns if that character is a symbol as defined by Unicode. | ||
== Inputs == | == Inputs == | ||
=== Character ([[Type:char|char]]) === | === Character ([[Type:char|char]]) === | ||
The character literal to check. | The character literal to check. | ||
Line 23: | Line 22: | ||
=== * ([[Type:bool|bool]]) === | === * ([[Type:bool|bool]]) === | ||
Returns <code>true</code> if <code>Character</code> is a symbol, <code>false</code> otherwise. Symbol characters recognized by this node are given the unicode delegation [https://www.compart.com/en/unicode/category/Sm <code>Sm</code>], [https://www.compart.com/en/unicode/category/Sc <code>Sc</code>], [https://www.compart.com/en/unicode/category/Sk <code>Sk</code>], or [https://www.compart.com/en/unicode/category/So <code>So</code>]. | |||
Returns if | |||
== See Also == | == See Also == | ||
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.issymbol Microsoft Documentation about the <code>Char.IsSymbol</code> method]. | |||
[[Category:ProtoFlux:Strings:Characters]] | [[Category:ProtoFlux:Strings:Characters]] |
Revision as of 22:31, 28 April 2024
Is Symbol
Characters
The Is Symbol
node takes in a character literal and returns if that character is a symbol as defined by Unicode.
Inputs
Character (char)
The character literal to check.
Outputs
* (bool)
Returns true
if Character
is a symbol, false
otherwise. Symbol characters recognized by this node are given the unicode delegation Sm
, Sc
, Sk
, or So
.