pub unsafe extern "C" fn JSValueIsInstanceOfConstructor(
ctx: JSContextRef,
value: JSValueRef,
constructor: JSObjectRef,
exception: *mut JSValueRef,
) -> boolExpand description
Tests whether a JavaScript value is an object constructed by a
given constructor, as compared by the JS instanceof operator.
ctx: The execution context to use.value: TheJSValueRefto test.constructor: The constructor to test against.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns true if value is an object constructed by constructor,
as compared by the JS instanceof operator, otherwise false.