kotlin-stdlib / kotlin.text / isSurrogate isSurrogate Common JVM JS Native 1.0 fun Char.isSurrogate(): Boolean(source) Returns true if this character is a Unicode surrogate code unit.