From 597b18582a9889c81dff553332b4cc8b0778d519 Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Mon, 19 Apr 2021 18:57:14 +0300 Subject: [PATCH] [K/N] Fix Char.isISOControl doc --- kotlin-native/runtime/src/main/kotlin/kotlin/text/Char.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */