ProtoFlux:Is White Space: Difference between revisions

From Resonite Wiki
m oops
style, formatting, doc, consistency
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|}}
|}}


The <code>Is White Space</code> node takes in a character 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 value to check.
The character literal to check.


== Outputs ==
== Outputs ==


=== * ([[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>].
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 ==
== See Also ==


* [https://learn.microsoft.com/en-us/dotnet/api/system.char.iswhitespace Microsoft documentation for the <code>Char.IsWhiteSpace</code> method].
* [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