public enum BrowserComponent.JSType
- Object
- Enum<BrowserComponent.JSType>
- BrowserComponent.JSType
ImplementsComparable<BrowserComponent.JSType>
Enum with the possible types for a
JSRef object.Enum constants
OBJECT | |
FUNCTION | |
NUMBER | |
STRING | |
UNDEFINED | |
BOOLEAN |
Methods
Inherited methods
Enum constant details
OBJECT
OBJECTFUNCTION
FUNCTIONNUMBER
NUMBERSTRING
STRINGUNDEFINED
UNDEFINEDBOOLEAN
BOOLEANMethod details
values
public static BrowserComponent.JSType[] values()valueOf
public static BrowserComponent.JSType valueOf(String name)get
public static BrowserComponent.JSType get(String type)Gets the corresponding JSType for the given string type.
Parameters
typeString- The string type as returned by the typeof operator. Possible input values are ‘object’, ‘function’, ’number’, ‘boolean’, and ‘undefined’
Returns
the enum corresponding to the type