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.0Types
Properties
Returns the Unicode general category of this character.
Returns the Unicode general category of this character.
Returns the Unicode general category of this character.
Returns the Unicode general category of this character.
Returns the Unicode general category of this character.
Returns the Unicode general category of this character.
Returns the Unicode directionality property for the given character.
Functions
Compares this value with the specified value for order.
Compares this value with the specified value for order.
Compares this value with the specified value for order.
Compares this value with the specified value for order.
Compares this value with the specified value for order.
Returns the numeric value of the decimal digit that this Char represents. Throws an exception if this Char is not a valid decimal digit.
Returns the numeric value of the digit that this Char represents in the specified radix. Throws an exception if the radix is not in the range 2..36
or if this Char is not a valid digit in the specified radix.
Returns the numeric value of the decimal digit that this Char represents, or null
if this Char is not a valid decimal digit.
Returns the numeric value of the digit that this Char represents in the specified radix, or null
if this Char is not a valid digit in the specified radix. Throws an exception if the radix is not in the range 2..36
.
Returns true
if this character (Unicode code point) is defined in Unicode.
Returns true
if this character (Unicode code point) is defined in Unicode.
Returns true
if this character (Unicode code point) is defined in Unicode.
Returns true
if this character (Unicode code point) is defined in Unicode.
Returns true
if this character (Unicode code point) is defined in Unicode.
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 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 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 is an ISO control character.
Returns true
if this character is an ISO control character.
Returns true
if this character is an ISO control character.
Returns true
if this character is an ISO control character.
Returns true
if this character is an ISO control character.
Returns true
if this character is an ISO control character.
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 letter.
Returns true
if this character is a letter or digit.
Returns true
if this character is a letter or digit.
Returns true
if this character is a letter or digit.
Returns true
if this character is a letter or digit.
Returns true
if this character is a letter or digit.
Returns true
if this character is a letter or digit.
Returns true
if this character is lower case.
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 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 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.
Returns true
if this character is a title case letter.
Returns true
if this character is a title case letter.
Returns true
if this character is a title case letter.
Returns true
if this character is a title case letter.
Returns true
if this character is a title case letter.
Returns true
if this character is a title case letter.
Returns true
if this character is upper case.
Determines whether a character is whitespace.
Determines whether a character is whitespace.
Determines whether a character is whitespace.
Determines whether a character is whitespace.
Determines whether a character is whitespace.
Determines whether a 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 lower case using Unicode mapping rules of the specified 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 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 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.
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.
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.
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.
Adds the other Int value to 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.
Creates a range from this value to the specified other value.
Creates a range from this value to the specified other value.
Creates a range from this value to the specified other value.
Creates a range from this value to the specified other value.
Creates a range from this value to the specified other value.
Creates a range from this value up to but excluding the specified other value.
Creates a range from this value up to but excluding the specified other value.
Creates a range from this value up to but excluding the specified other value.
Creates a range from this value up to but excluding the specified other value.
Creates a range from this value up to but excluding the specified other value.
Creates a range from this value up to but excluding the specified other value.
Converts this character to title 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 title 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 title case using Unicode mapping rules of the invariant locale.
Converts this character to title case using Unicode mapping rules of the invariant locale.
Returns the value of this character as a Double
.
Returns the value of this character as a Double
.
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 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.
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.
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.
Converts this character to upper case using Unicode mapping rules of the specified 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.
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.
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.