ProtoFlux:Is Surrogate

From Resonite Wiki
Revision as of 22:11, 28 April 2024 by Yosh (talk | contribs) (fixup)
Is Surrogate
Character
*
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 0xD800 and 0xDFFF.

See Also