Skip to main content

JS_IsError

Function JS_IsError 

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

JS_IsError: whether the value is an Error instance.

ยงSafety

val must be a live JSValue.