Function javascriptcore_sys::JSValueIsInstanceOfConstructor [] [src]

pub unsafe extern "C" fn JSValueIsInstanceOfConstructor(
    ctx: JSContextRef,
    value: JSValueRef,
    constructor: JSObjectRef,
    exception: *mut JSValueRef
) -> bool

Tests whether a JavaScript value is an object constructed by a given constructor, as compared by the JS instanceof operator.

Returns true if value is an object constructed by constructor, as compared by the JS instanceof operator, otherwise false.