Function Machine.get

Get a property or item of an instance.

JSValue get (
  const(xs.bindings.xsSlotRecord) this_,
  short id
);

Parameters

NameDescription
this_A reference to the instance that has the property or item
idThe identifier of the property or item to get

Returns

A JSValue containing what is contained in the property or item. JSValue.type will equal JSType.undefined if the property or item is not defined by the instance or its prototypes.

See Also

xsGet