Function javascriptcore_sys::JSValueIsObjectOfClass
[−]
[src]
pub unsafe extern "C" fn JSValueIsObjectOfClass(
ctx: JSContextRef,
value: JSValueRef,
jsClass: JSClassRef
) -> bool
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.