Class $jni.char

Represents a primitive character (char)

Class Summary
Constructor Attributes Constructor Name and Description
 
$jni.char(charValue)
Returns a JavaChar

Method Summary

Class Detail

$jni.char(charValue)
Returns a JavaChar
Parameters:
charValue
Either an Unicode code point code, or string of length 1
Returns:
{JavaChar}

Method Detail

  • {number} codePoint()
    Returns the code point of the character
    Returns:
    {number}
  • {object} toJS()
    Returns a JavaScript representation of the object
    Returns:
    {object}
  • {string} toString()
    Returns a string containing the character
    Returns:
    {string}