v1.9.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.text / isSurrogatePair

isSurrogatePair

Native
1.3
@ExperimentalNativeApi fun Char.Companion.isSurrogatePair(
    high: Char,
    low: Char
): Boolean

(source)

Checks if the specified high and low chars are Char.isHighSurrogate and Char.isLowSurrogate correspondingly.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains