pub unsafe extern "C-unwind" fn JSObjectIsConstructor(
ctx: JSContextRef,
object: JSObjectRef,
) -> boolAvailable on crate features
JSBase and JSObjectRef 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.
ยงSafety
ctxmust be a valid pointer.objectmust be a valid pointer.