ProtoFlux:Is White Space: Difference between revisions

From Resonite Wiki
Created a page for the Is White Space node.
 
style, formatting, doc, consistency
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|}}
|}}


The <code>Is White Space</code> node takes in a character literal and returns if that character is whitespace. Whitespace characters are empty spaces in text that separate other characters.
The '''Is White Space''' node takes in a character and returns if that character is whitespace. Whitespace characters are empty spaces in text that separate other characters.


== 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 whitespace, <code>false</code> otherwise. Whitespace characters recognized by this node have the [https://en.wikipedia.org/wiki/Unicode_character_property#Whitespace Unicode property <code>White_Space=yes</code>].
== See Also ==


Returns if this is whitespace.
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.iswhitespace#system-char-iswhitespace(system-char) Microsoft documentation for the <code>Char.IsWhiteSpace(Char)</code> method].


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

Latest revision as of 17:12, 4 June 2024

Is White Space
Character
*
Characters

The Is White Space node takes in a character and returns if that character is whitespace. Whitespace characters are empty spaces in text that separate other characters.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns true if Character is whitespace, false otherwise. Whitespace characters recognized by this node have the Unicode property White_Space=yes.

See Also