Function Machine.set

Set a property or item of an instance.

void set (
  const(xs.bindings.xsSlotRecord) this_,
  short id,
  const(JSValue) value
);

Parameters

NameDescription
this_A reference to the instance that will have the property or item
idThe identifier of the property or item to set
valueThe value of the property or item to set

See Also

xsSet