uppercaseChar

expect fun Char.uppercaseChar(): Char(source)

Converts this character to upper case using Unicode mapping rules of the invariant locale.

This function performs one-to-one character mapping. To support one-to-many character mapping use the uppercase function. If this character has no mapping equivalent, the character itself is returned.

Since Kotlin

1.5

Samples

actual fun Char.uppercaseChar(): Char(source)

Converts this character to upper case using Unicode mapping rules of the invariant locale.

This function performs one-to-one character mapping. To support one-to-many character mapping use the uppercase function. If this character has no mapping equivalent, the character itself is returned.

Since Kotlin

1.5

Samples

actual inline fun Char.uppercaseChar(): Char(source)

Converts this character to upper case using Unicode mapping rules of the invariant locale.

This function performs one-to-one character mapping. To support one-to-many character mapping use the uppercase function. If this character has no mapping equivalent, the character itself is returned.

Since Kotlin

1.5

Samples

actual fun Char.uppercaseChar(): Char(source)

Converts this character to upper case using Unicode mapping rules of the invariant locale.

This function performs one-to-one character mapping. To support one-to-many character mapping use the uppercase function. If this character has no mapping equivalent, the character itself is returned.

Since Kotlin

1.5

Samples