Skip to main content

JS_IsInstanceOf

Function JS_IsInstanceOf 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_IsInstanceOf( ctx: *mut JsContext, val: JsValue, obj: JsValue, ) -> c_int
Expand description

JS_IsInstanceOf: val instanceof obj, going through Symbol.hasInstance.

ยงSafety

Both values must be live.