style  | 
				 style, doc, formatting  | 
				||
| Line 27: | Line 27: | ||
== See Also ==  | == See Also ==  | ||
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.issurrogate Microsoft Documentation about the <code>Char.IsSurrogate</code> method].  | * [https://learn.microsoft.com/en-us/dotnet/api/system.char.issurrogate#system-char-issurrogate(system-char) Microsoft Documentation about the <code>Char.IsSurrogate(Char)</code> method].  | ||
[[Category:ProtoFlux:Strings:Characters]]  | [[Category:ProtoFlux:Strings:Characters]]  | ||
Revision as of 17:09, 4 June 2024
Is Surrogate
Characters
The Is Surrogate node takes in a char and returns whether that character is a surrogate.
Surrogates are special values in UTF-16 that, in pairs, allows representing characters outside the Basic Multilingual Plane.
Inputs
Character (char)
The character to check.
Outputs
* (bool)
Returns true if Character is a surrogate, false otherwise. Surrogate characters recognized by this node are all characters between U+D800 and U+DFFF.