ProtoFlux:Is White Space: Difference between revisions

From Resonite Wiki
Link to C# docs
m fixup
Line 16: Line 16:
== Inputs ==
== Inputs ==


=== Character ([[Type:char|char]]) ===  
=== Character ([[Type:char|char]]) ===
 
The character value to check.
The character value 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 [unicode property https://en.wikipedia.org/wiki/Unicode_character_property#Whitespace <code>White_Space=yes</code>].
Returns if this is whitespace.


== See Also ==
== See Also ==


* [https://learn.microsoft.com/en-us/dotnet/api/system.char.iswhitespace?view=net-8.0 .NET's <code>Char.IsWhiteSpace</code>], which Resonite uses internally.
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.iswhitespace Microsoft documentation for the <code>Char.IsWhiteSpace</code> method].


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

Revision as of 22:47, 28 April 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 value to check.

Outputs

* (bool)

Returns true if Character is whitespace, false otherwise. Whitespace characters recognized by this node have the [unicode property https://en.wikipedia.org/wiki/Unicode_character_property#Whitespace White_Space=yes].

See Also