ProtoFlux:Is Surrogate

From Resonite Wiki
Revision as of 17:09, 4 June 2024 by Yosh (talk | contribs) (style, doc, formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 U+D800 and U+DFFF.

See Also