public class Char implements ValueType:
Represents a single Unicode character value.
letter = Char('a')
assert Char.toUpper(letter) == 'A'| Modifier and Type | Member | Description |
|---|---|---|
| public native | CharChar() |
Builds the neutral Char value (`'\0'`). |
| public native | Char | Creates a Char from another Char value. |
| public native | Char | Creates a Char from a signed integer code point. |
| public native | Char | Creates a Char from a signed long code point. |
| public native | Char | Creates a Char from an unsigned integer code point. |
| public native | Char | Creates a Char from an unsigned long code point. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native | toInttoInt() as Int |
Returns the Unicode code point of this character. |
| public native static | toLower | Converts a character to lowercase when a lowercase mapping exists. |
| public native static | toUpper | Converts a character to uppercase when an uppercase mapping exists. |