Skip to main content

JS_HasProperty

Function JS_HasProperty 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_HasProperty( ctx: *mut JsContext, this_obj: JsValue, prop: Atom, ) -> c_int
Expand description

JS_HasProperty: whether this_obj has prop (own or inherited).

ยงSafety

this_obj must be a live JSValue.