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