Class JSValue

A JavaScript value reference.

class JSValue ;

Constructors

NameDescription
this (machine, value) Construct a reference to a slot value belonging to machine.

Fields

NameTypeDescription
id const(short)ID of this value in it's Machine.
slot const(xs.bindings.xsSlotRecord)Machine slot of this value.

Properties

NameTypeDescription
boolean[get] boolConvert this value to a bool value.
convertableToObject[get] boolWhether this value is convertable to a JSObject value.
integer[get] intConvert this value to an int value.
number[get] doubleConvert this value to a double value.
object[get] JSObjectConvert this value to a JSObject value.
string_[get] stringConvert this value to a string value.
unsigned[get] uintConvert this value to an uint value.