JSType class

enum JSType A constant identifying the type of a JSValue.

Constructors

JSType()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

kJSTypeBoolean → const int
A primitive boolean value, one of true or false.
2
kJSTypeNull → const int
The unique null value.
1
kJSTypeNumber → const int
A primitive number value.
3
kJSTypeObject → const int
An object value (meaning that this JSValueRef is a JSObjectRef).
5
kJSTypeString → const int
A primitive string value.
4
kJSTypeSymbol → const int
A primitive symbol value.
6
kJSTypeUndefined → const int
The unique undefined value.
0