Created a page for the Is Punctuation node. |
m fixup |
||
Line 12: | Line 12: | ||
|}} | |}} | ||
The <code>Is Punctuation</code> node takes in a character literal and returns if that character is a punctuation | The <code>Is Punctuation</code> node takes in a character literal and returns if that character is a punctuation 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]]) === | ||
Returns <code>true</code> if <code>Character</code> is a punctuation character, <code>false</code> otherwise. Punctuation characters recognized by this node are given the Unicode delegation [https://www.compart.com/en/unicode/category/Pc <code>Pc</code>], [https://www.compart.com/en/unicode/category/Pd <code>Pd</code>], [https://www.compart.com/en/unicode/category/Ps <code>Ps</code>], [https://www.compart.com/en/unicode/category/Pe <code>Pe</code>], [https://www.compart.com/en/unicode/category/Pi <code>Pi</code>], [https://www.compart.com/en/unicode/category/Pf <code>Pf</code>], or [https://www.compart.com/en/unicode/category/Po <code>Po</code>]. | |||
== See Also == | |||
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.ispunctuation Microsoft documentation of the <code>Char.IsPunctuation</code> method]. | |||
[[Category:ProtoFlux:Strings:Characters]] | [[Category:ProtoFlux:Strings:Characters]] |
Revision as of 21:09, 28 April 2024
Is Punctuation
Characters
The Is Punctuation
node takes in a character literal and returns if that character is a punctuation character.
Inputs
Character (char)
The character literal to check.
Outputs
* (bool)
Returns true
if Character
is a punctuation character, false
otherwise. Punctuation characters recognized by this node are given the Unicode delegation Pc
, Pd
, Ps
, Pe
, Pi
, Pf
, or Po
.