JSValueIsInstanceOfConstructor top-level property
bool Function(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, Pointer<JSValueRef> exception)
JSValueIsInstanceOfConstructor
final
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
The JSValue to test.
constructor
The constructor to test against.
exception
A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
@result
true if value is an object constructed by constructor, as compared by the JS instanceof operator, otherwise false.
Implementation
final bool Function(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, Pointer<JSValueRef> exception) JSValueIsInstanceOfConstructor =
jscLib.lookup<NativeFunction<Bool Function(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, Pointer<JSValueRef> exception)>>('JSValueIsInstanceOfConstructor').asFunction();