Skip to main content

JS_GetOwnProperty

Function JS_GetOwnProperty 

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

JS_GetOwnProperty: a complete descriptor for obj[prop].

ยงSafety

desc must be writable, obj a live JSValue.