toCodePoint

Converts a surrogate pair to a unicode code point. Doesn't validate that the characters are a valid surrogate pair.

Note that this function is unstable. In the future it could be deprecated in favour of an overload that would return a CodePoint type.

Since Kotlin

1.3