Function xsTypeOf

Returns the Type of a slot.

JSType xsTypeOf (
  scope xs.bindings.xsMachineRecord* the,
  const(xs.bindings.xsSlotRecord) theSlot
);

Parameters

NameDescription
theA machine
theSlotThe slot to test

Returns

The Type of a theSlot.

> **Note**: The macros in the XS in C API require a reference to the target virtual machine in a variable in the > current scope with the name the of type xsMachine*.

See Also

Slot Types