Format Other_Uppercase/Other_Lowercase property as an identifier in docs

This commit is contained in:
Abduqodiri Qurbonzoda
2021-08-24 14:47:53 +03:00
parent b5e37cb201
commit f1befc0108
8 changed files with 16 additions and 16 deletions
@@ -51,14 +51,14 @@ internal fun Char.isLetterImpl(): Boolean {
}
/**
* Returns `true` if this character is a lower case letter, or it has contributory property Other_Lowercase.
* Returns `true` if this character is a lower case letter, or it has contributory property `Other_Lowercase`.
*/
internal fun Char.isLowerCaseImpl(): Boolean {
return getLetterType() == 1 || code.isOtherLowercase()
}
/**
* Returns `true` if this character is an upper case letter, or it has contributory property Other_Uppercase.
* Returns `true` if this character is an upper case letter, or it has contributory property `Other_Uppercase`.
*/
internal fun Char.isUpperCaseImpl(): Boolean {
return getLetterType() == 2 || code.isOtherUppercase()
+2 -2
View File
@@ -184,7 +184,7 @@ public actual fun Char.isDigit(): Boolean {
* Returns `true` if this character is upper case.
*
* A character is considered to be an upper case character if its [category] is [CharCategory.UPPERCASE_LETTER],
* or it has contributory property Other_Uppercase as defined by the Unicode Standard.
* or it has contributory property `Other_Uppercase` as defined by the Unicode Standard.
*
* @sample samples.text.Chars.isUpperCase
*/
@@ -203,7 +203,7 @@ public actual fun Char.isUpperCase(): Boolean {
* Returns `true` if this character is lower case.
*
* A character is considered to be a lower case character if its [category] is [CharCategory.LOWERCASE_LETTER],
* or it has contributory property Other_Lowercase as defined by the Unicode Standard.
* or it has contributory property `Other_Lowercase` as defined by the Unicode Standard.
*
* @sample samples.text.Chars.isLowerCase
*/