JSType enum
enum JSType A constant identifying the type of a JSValue.
Values
- kJSTypeUndefined → const JSType
-
The unique undefined value.
const JSType(0)
- kJSTypeNull → const JSType
-
The unique null value.
const JSType(1)
- kJSTypeBoolean → const JSType
-
A primitive boolean value, one of true or false.
const JSType(2)
- kJSTypeNumber → const JSType
-
A primitive number value.
const JSType(3)
- kJSTypeString → const JSType
-
A primitive string value.
const JSType(4)
- kJSTypeObject → const JSType
-
An object value (meaning that this JSValueRef is a JSObjectRef).
const JSType(5)
- kJSTypeSymbol → const JSType
-
A primitive symbol value. // iOS 13.0
const JSType(6)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
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