JSValueIsObjectOfClass top-level property
Tests whether a JavaScript value is an object with a given class in its class chain.
ctx
The execution context to use.
value
The JSValue to test.
jsClass
The JSClass to test against.
@result
true if value is an object and has jsClass in its class chain, otherwise false.
Implementation
final bool Function(JSContextRef ctx, JSValueRef value, JSClassRef jsClass) JSValueIsObjectOfClass =
jscLib.lookup<NativeFunction<Bool Function(JSContextRef ctx, JSValueRef value, JSClassRef jsClass)>>('JSValueIsObjectOfClass').asFunction();