diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt index 451707c03ca..1431c720294 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt @@ -83,7 +83,8 @@ external public fun Char.isIdentifierIgnorable(): Boolean /** * Returns `true` if this character is an ISO control character. * - * A character is considered to be an ISO control character if its code is in the range `'\u0000'..'\u001F'` or in the range `'\u007F'..'\u009F'`. + * A character is considered to be an ISO control character if its [category] is [CharCategory.CONTROL], + * meaning the Char is in the range `'\u0000'..'\u001F'` or in the range `'\u007F'..'\u009F'`. * * @sample samples.text.Chars.isISOControl */