isUTF32SplitNumber

external fun isUTF32SplitNumber(value: Int): dynamic

Check whether a UTF-16 code unit is part of a surrogate pair.

Return

1 for the first unit, 2 for the second, false otherwise.