From bb2a50a4eb6c36a183fa1be8bc5d81f4760f4a48 Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Mon, 19 Apr 2021 18:56:31 +0300 Subject: [PATCH] Fix Char.isISOControl doc --- libraries/stdlib/js/src/kotlin/text/char.kt | 3 ++- libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt | 3 ++- libraries/stdlib/src/kotlin/text/Char.kt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libraries/stdlib/js/src/kotlin/text/char.kt b/libraries/stdlib/js/src/kotlin/text/char.kt index f95a1242ead..59c027ea384 100644 --- a/libraries/stdlib/js/src/kotlin/text/char.kt +++ b/libraries/stdlib/js/src/kotlin/text/char.kt @@ -234,7 +234,8 @@ public actual fun Char.isTitleCase(): Boolean { /** * Returns `true` if this character is an ISO control character. * - * A character is considered to be an ISO control character if its [category] is [CharCategory.CONTROL]. + * 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 */ diff --git a/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt b/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt index 0279bbb1fad..c57ab7623d8 100644 --- a/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt +++ b/libraries/stdlib/jvm/src/kotlin/text/CharJVM.kt @@ -67,7 +67,8 @@ public inline fun Char.isIdentifierIgnorable(): Boolean = Character.isIdentifier /** * Returns `true` if this character is an ISO control character. * - * A character is considered to be an ISO control character if its [category] is [CharCategory.CONTROL]. + * 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 */ diff --git a/libraries/stdlib/src/kotlin/text/Char.kt b/libraries/stdlib/src/kotlin/text/Char.kt index 134d43071f5..b25c9a05df7 100644 --- a/libraries/stdlib/src/kotlin/text/Char.kt +++ b/libraries/stdlib/src/kotlin/text/Char.kt @@ -324,7 +324,8 @@ public expect fun Char.isTitleCase(): Boolean /** * Returns `true` if this character is an ISO control character. * - * A character is considered to be an ISO control character if its [category] is [CharCategory.CONTROL]. + * 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 */