pub unsafe extern "C" fn JSValueIsObjectOfClass(
ctx: JSContextRef,
value: JSValueRef,
jsClass: JSClassRef,
) -> bool
Expand description
Tests whether a JavaScript value is an object
with a given class in its class chain.
ctx
: The execution context to use.value
: TheJSValueRef
to test.jsClass
: TheJSClassRef
to test against.
Returns true
if value
is an object
and has jsClass
in its
class chain, otherwise false
.