JSType enum

enum JSType A constant identifying the type of a JSValue.

Inheritance

Constructors

JSType()
const

Values

kJSTypeUndefined → const JSType

The unique undefined value.

kJSTypeNull → const JSType

The unique null value.

kJSTypeBoolean → const JSType

A primitive boolean value, one of true or false.

kJSTypeNumber → const JSType

A primitive number value.

kJSTypeString → const JSType

A primitive string value.

kJSTypeObject → const JSType

An object value (meaning that this JSValueRef is a JSObjectRef).

kJSTypeSymbol → const JSType

A primitive symbol value.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<JSType>
A constant List of the values in this enum, in order of their declaration.