Skip to main content

JS_IsConstructor

Function JS_IsConstructor 

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

JS_IsConstructor: whether new is allowed.

ยงSafety

val must be a live JSValue.