isLetter

expect fun Char.isLetter(): Boolean(source)

Returns true if this character is a letter.

A character is considered to be a letter if its category is CharCategory.UPPERCASE_LETTER, CharCategory.LOWERCASE_LETTER, CharCategory.TITLECASE_LETTER, CharCategory.MODIFIER_LETTER, or CharCategory.OTHER_LETTER.

Since Kotlin

1.5

Samples

actual fun Char.isLetter(): Boolean(source)

Returns true if this character is a letter.

A character is considered to be a letter if its category is CharCategory.UPPERCASE_LETTER, CharCategory.LOWERCASE_LETTER, CharCategory.TITLECASE_LETTER, CharCategory.MODIFIER_LETTER, or CharCategory.OTHER_LETTER.

Since Kotlin

1.5

Samples

actual inline fun Char.isLetter(): Boolean(source)

Returns true if this character is a letter.

A character is considered to be a letter if its category is CharCategory.UPPERCASE_LETTER, CharCategory.LOWERCASE_LETTER, CharCategory.TITLECASE_LETTER, CharCategory.MODIFIER_LETTER, or CharCategory.OTHER_LETTER.

Since Kotlin

1.0

Samples

actual fun Char.isLetter(): Boolean(source)

Returns true if this character is a letter.

A character is considered to be a letter if its category is CharCategory.UPPERCASE_LETTER, CharCategory.LOWERCASE_LETTER, CharCategory.TITLECASE_LETTER, CharCategory.MODIFIER_LETTER, or CharCategory.OTHER_LETTER.

Since Kotlin

1.3

Samples