ProtoFlux:Is Letter: Difference between revisions

From Resonite Wiki
Created a page for the Is Letter node.
 
style, formatting, better link
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|}}
|}}


The <code>Is Letter</code> node takes in a character literal and returns if that character is a letter. Letter characters are letters that have a letter value to them and is not a symbol, number, or whitespace.
The '''Is Letter''' node takes in a character literal and returns if that character is a letter.


== 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 letter, <code>false</code> otherwise. Letters recognized by this node are part of the Unicode delegations [https://www.compart.com/en/unicode/category/Lu <code>Lu</code>], [https://www.compart.com/en/unicode/category/Ll <code>Ll</code>], [https://www.compart.com/en/unicode/category/Lt <code>Lt</code>], [https://www.compart.com/en/unicode/category/Lm <code>Lm</code>], or [https://www.compart.com/en/unicode/category/Lo <code>Lo</code>].


Returns if this is a letter.
== See Also ==
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.isletter#system-char-isletter(system-char) Microsoft documentation for the <code>Char.IsLetter(Char)</code> method.]


[[Category:ProtoFlux:Strings:Characters]]
[[Category:ProtoFlux:Strings:Characters]]

Latest revision as of 20:32, 3 June 2024

Is Letter
Character
*
Characters

The Is Letter node takes in a character literal and returns if that character is a letter.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns true if Character is a letter, false otherwise. Letters recognized by this node are part of the Unicode delegations Lu, Ll, Lt, Lm, or Lo.

See Also