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