Function

JSObjectIsConstructor

Tests whether an object can be called as a constructor.

Declaration

bool JSObjectIsConstructor(JSContextRef ctx, JSObjectRef object);

Parameters

ctx

The execution context to use.

object

The JSObject to test.

Return Value

true if the object can be called as a constructor, otherwise false.