ProtoFlux:Is Control: Difference between revisions

From Resonite Wiki
Created a page for the Is Control node.
 
m fixup
Line 12: Line 12:
|}}
|}}


The <code>Is Control</code> node takes in a character literal and returns if that character is a control character. Control characters are non-printable characters.
The <code>Is Control</code> node takes in a character literal and returns if that character is a control character.


== 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]]) ===
 
Outputs <code>true</code> if <code>Character</code> is a control character, <code>false</code> otherwise. Control characters recognized by this node are part of the [https://en.wiktionary.org/wiki/Appendix:Control_characters C0 and C1 sets of Unicode].
Returns if this is a control character.


== See Also ==
== See Also ==
 
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.iscontrol?view=net-8.0 Microsoft Documentation of the <code>Char::IsControl</code> function].
Wikipedia article about control characters. [https://en.wikipedia.org/wiki/Control_character]


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

Revision as of 19:12, 28 April 2024

Is Control
Character
*
Characters

The Is Control node takes in a character literal and returns if that character is a control character.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Outputs true if Character is a control character, false otherwise. Control characters recognized by this node are part of the C0 and C1 sets of Unicode.

See Also