Char
Represents a 16-bit Unicode character.
On the JVM, non-nullable values of this type are represented as values of the primitive type char.
Since Kotlin
1.2Represents a 16-bit Unicode character.
On the JVM, non-nullable values of this type are represented as values of the primitive type char.
Since Kotlin
1.0Represents a 16-bit Unicode character.
On the JVM, non-nullable values of this type are represented as values of the primitive type char.
Since Kotlin
1.1Types
Functions
Compares this value with the specified value for order.
Compares this value with the specified value for order.
Subtracts the other Char value from this value resulting an Int.
Subtracts the other Int value from this value resulting a Char.
Subtracts the other Char value from this value resulting an Int.
Subtracts the other Int value from this value resulting a Char.
Adds the other Int value to this value resulting a Char.
Adds the other Int value to this value resulting a Char.
Extensions
Returns the Unicode directionality property for the given character.
Returns a progression from this value down to the specified to value with the step -1.
Returns true if this character is equal to the other character, optionally ignoring character case.
Returns true if this character is a Unicode high-surrogate code unit (also known as leading-surrogate code unit).
Returns true if this character is a Unicode high-surrogate code unit (also known as leading-surrogate code unit).
Returns true if this character (Unicode code point) should be regarded as an ignorable character in a Java identifier or a Unicode identifier.
Returns true if this character (Unicode code point) may be part of a Java identifier as other than the first character.
Returns true if this character is permissible as the first character in a Java identifier.
Returns true if this character is a Unicode low-surrogate code unit (also known as trailing-surrogate code unit).
Returns true if this character is a Unicode low-surrogate code unit (also known as trailing-surrogate code unit).
Returns true if this character is a Unicode surrogate code unit.
Determines whether a character is whitespace according to the Unicode standard. Returns true if the character is whitespace.
Determines whether a character is whitespace according to the Unicode standard. Returns true if the character is whitespace.
Determines whether a character is whitespace according to the Unicode standard. Returns true if the character is whitespace.
Converts this character to lower case using Unicode mapping rules of the invariant locale.
Converts this character to lower case using Unicode mapping rules of the invariant locale.
Converts this character to lower case using Unicode mapping rules of the invariant locale.
Converts this character to title case using Unicode mapping rules of the invariant locale.
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Converts this character to upper case using Unicode mapping rules of the invariant locale.