Fix Char.isISOControl doc

This commit is contained in:
Abduqodiri Qurbonzoda
2021-04-19 18:56:31 +03:00
parent d1f18c4651
commit bb2a50a4eb
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -234,7 +234,8 @@ public actual fun Char.isTitleCase(): Boolean {
/** /**
* Returns `true` if this character is an ISO control character. * 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 * @sample samples.text.Chars.isISOControl
*/ */
@@ -67,7 +67,8 @@ public inline fun Char.isIdentifierIgnorable(): Boolean = Character.isIdentifier
/** /**
* Returns `true` if this character is an ISO control character. * 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 * @sample samples.text.Chars.isISOControl
*/ */
+2 -1
View File
@@ -324,7 +324,8 @@ public expect fun Char.isTitleCase(): Boolean
/** /**
* Returns `true` if this character is an ISO control character. * 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 * @sample samples.text.Chars.isISOControl
*/ */