pub unsafe extern "C-unwind" fn JSObjectIsConstructor(
ctx: JSContextRef,
object: JSObjectRef,
) -> boolAvailable on crate features
JSObjectRef and JSBase only.Expand description
Tests whether an object can be called as a constructor.
Parameter ctx: The execution context to use.
Parameter object: The JSObject to test.
Returns: true if the object can be called as a constructor, otherwise false.