CharCategory

Represents the character general category in the Unicode specification.

Since Kotlin

1.5

Since Kotlin

1.5

Since Kotlin

1.0

Represents the character general category in the Unicode specification.

Since Kotlin

1.3

Entries

Link copied to clipboard

General category "Cn" in the Unicode specification.

General category "Cn" in the Unicode specification.

General category "Cn" in the Unicode specification.

General category "Cn" in the Unicode specification.

Link copied to clipboard

General category "Lu" in the Unicode specification.

General category "Lu" in the Unicode specification.

General category "Lu" in the Unicode specification.

General category "Lu" in the Unicode specification.

Link copied to clipboard

General category "Ll" in the Unicode specification.

General category "Ll" in the Unicode specification.

General category "Ll" in the Unicode specification.

General category "Ll" in the Unicode specification.

Link copied to clipboard

General category "Lt" in the Unicode specification.

General category "Lt" in the Unicode specification.

General category "Lt" in the Unicode specification.

General category "Lt" in the Unicode specification.

Link copied to clipboard

General category "Lm" in the Unicode specification.

General category "Lm" in the Unicode specification.

General category "Lm" in the Unicode specification.

General category "Lm" in the Unicode specification.

Link copied to clipboard

General category "Lo" in the Unicode specification.

General category "Lo" in the Unicode specification.

General category "Lo" in the Unicode specification.

General category "Lo" in the Unicode specification.

Link copied to clipboard

General category "Mn" in the Unicode specification.

General category "Mn" in the Unicode specification.

General category "Mn" in the Unicode specification.

General category "Mn" in the Unicode specification.

Link copied to clipboard

General category "Me" in the Unicode specification.

General category "Me" in the Unicode specification.

General category "Me" in the Unicode specification.

General category "Me" in the Unicode specification.

Link copied to clipboard

General category "Mc" in the Unicode specification.

General category "Mc" in the Unicode specification.

General category "Mc" in the Unicode specification.

General category "Mc" in the Unicode specification.

Link copied to clipboard

General category "Nd" in the Unicode specification.

General category "Nd" in the Unicode specification.

General category "Nd" in the Unicode specification.

General category "Nd" in the Unicode specification.

Link copied to clipboard

General category "Nl" in the Unicode specification.

General category "Nl" in the Unicode specification.

General category "Nl" in the Unicode specification.

General category "Nl" in the Unicode specification.

Link copied to clipboard

General category "No" in the Unicode specification.

General category "No" in the Unicode specification.

General category "No" in the Unicode specification.

General category "No" in the Unicode specification.

Link copied to clipboard

General category "Zs" in the Unicode specification.

General category "Zs" in the Unicode specification.

General category "Zs" in the Unicode specification.

General category "Zs" in the Unicode specification.

Link copied to clipboard

General category "Zl" in the Unicode specification.

General category "Zl" in the Unicode specification.

General category "Zl" in the Unicode specification.

General category "Zl" in the Unicode specification.

Link copied to clipboard

General category "Zp" in the Unicode specification.

General category "Zp" in the Unicode specification.

General category "Zp" in the Unicode specification.

General category "Zp" in the Unicode specification.

Link copied to clipboard

General category "Cc" in the Unicode specification.

General category "Cc" in the Unicode specification.

General category "Cc" in the Unicode specification.

General category "Cc" in the Unicode specification.

Link copied to clipboard

General category "Cf" in the Unicode specification.

General category "Cf" in the Unicode specification.

General category "Cf" in the Unicode specification.

General category "Cf" in the Unicode specification.

Link copied to clipboard

General category "Co" in the Unicode specification.

General category "Co" in the Unicode specification.

General category "Co" in the Unicode specification.

General category "Co" in the Unicode specification.

Link copied to clipboard

General category "Cs" in the Unicode specification.

General category "Cs" in the Unicode specification.

General category "Cs" in the Unicode specification.

General category "Cs" in the Unicode specification.

Link copied to clipboard

General category "Pd" in the Unicode specification.

General category "Pd" in the Unicode specification.

General category "Pd" in the Unicode specification.

General category "Pd" in the Unicode specification.

Link copied to clipboard

General category "Ps" in the Unicode specification.

General category "Ps" in the Unicode specification.

General category "Ps" in the Unicode specification.

General category "Ps" in the Unicode specification.

Link copied to clipboard

General category "Pe" in the Unicode specification.

General category "Pe" in the Unicode specification.

General category "Pe" in the Unicode specification.

General category "Pe" in the Unicode specification.

Link copied to clipboard

General category "Pc" in the Unicode specification.

General category "Pc" in the Unicode specification.

General category "Pc" in the Unicode specification.

General category "Pc" in the Unicode specification.

Link copied to clipboard

General category "Po" in the Unicode specification.

General category "Po" in the Unicode specification.

General category "Po" in the Unicode specification.

General category "Po" in the Unicode specification.

Link copied to clipboard

General category "Sm" in the Unicode specification.

General category "Sm" in the Unicode specification.

General category "Sm" in the Unicode specification.

General category "Sm" in the Unicode specification.

Link copied to clipboard

General category "Sc" in the Unicode specification.

General category "Sc" in the Unicode specification.

General category "Sc" in the Unicode specification.

General category "Sc" in the Unicode specification.

Link copied to clipboard

General category "Sk" in the Unicode specification.

General category "Sk" in the Unicode specification.

General category "Sk" in the Unicode specification.

General category "Sk" in the Unicode specification.

Link copied to clipboard

General category "So" in the Unicode specification.

General category "So" in the Unicode specification.

General category "So" in the Unicode specification.

General category "So" in the Unicode specification.

Link copied to clipboard

General category "Pi" in the Unicode specification.

General category "Pi" in the Unicode specification.

General category "Pi" in the Unicode specification.

General category "Pi" in the Unicode specification.

Link copied to clipboard

General category "Pf" in the Unicode specification.

General category "Pf" in the Unicode specification.

General category "Pf" in the Unicode specification.

General category "Pf" in the Unicode specification.

Types

Link copied to clipboard
object Companion
Since Kotlin 1.5
object Companion
Since Kotlin 1.0
object Companion
Since Kotlin 1.3

Properties

Link copied to clipboard
expect val code: String

Two-letter code of this general category in the Unicode specification.

Since Kotlin 1.5
actual val code: String
Since Kotlin 1.5
actual val code: String
Since Kotlin 1.0
actual val code: String
Since Kotlin 1.3
Link copied to clipboard
Since Kotlin 1.5
Since Kotlin 1.5
Since Kotlin 1.0
Since Kotlin 1.3
Link copied to clipboard
Since Kotlin 1.5
Since Kotlin 1.5
Since Kotlin 1.0
Since Kotlin 1.3
Link copied to clipboard
val value: Int
Since Kotlin 1.0
val value: Int
Since Kotlin 1.3

Functions

Link copied to clipboard
infix inline fun <T> Comparable<T>.compareTo(other: T): Int

Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.

Since Kotlin 1.6
Link copied to clipboard
expect operator fun contains(char: Char): Boolean

Returns true if char character belongs to this category.

Since Kotlin 1.5
actual operator fun contains(char: Char): Boolean

Returns true if char character belongs to this category.

Since Kotlin 1.5
actual operator fun contains(char: Char): Boolean

Returns true if char character belongs to this category.

Since Kotlin 1.0
actual operator fun contains(char: Char): Boolean

Returns true if char character belongs to this category.

Since Kotlin 1.3
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Since Kotlin 1.5

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Since Kotlin 1.5

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Since Kotlin 1.0

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Since Kotlin 1.3
Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Since Kotlin 1.5

Returns an array containing the constants of this enum type, in the order they're declared.

Since Kotlin 1.5

Returns an array containing the constants of this enum type, in the order they're declared.

Since Kotlin 1.0

Returns an array containing the constants of this enum type, in the order they're declared.

Since Kotlin 1.3