ProtoFlux:Is Surrogate

From Resonite Wiki
Revision as of 18:02, 17 April 2024 by PJB (talk | contribs) (Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Is Surrogate |Category=Characters |Inputs= [ {"Name":"Character", "Type":"char"} ] |Outputs= [ {"Name":"*", "Type":"bool"} ] |}} The <code>Is Surrogate</code> node takes in a Type:char and returns whether that char is a ''surrogate''. Surrogates are special values in UTF-16 that, in pairs, allows representing characters outside the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual P...")
(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 char 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 if this is a surrogate.

See Also

Microsoft Documentation about the Char.IsSurrogate method, which Resonite uses. [1]