new char(charValue) → {JavaChar}
Returns a JavaChar
Parameters:
Name | Type | Description |
---|---|---|
charValue | Either an Unicode code point code, or string of length 1 |
Returns:
Represents a primitive character (char)
- Type:
- JavaChar
Methods
codePoint() → {number}
Returns the code point of the character
Returns:
- Type:
- number
toJS() → {object}
Returns a JavaScript representation of the object
Returns:
- Type:
- object
toString() → {string}
Returns a string containing the character
Returns:
- Type:
- string