Function mozjs_sys::jsapi::JS_GetPropertyById

source ยท
pub unsafe extern "C" fn JS_GetPropertyById(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<jsid>,
    vp: MutableHandleValue,
) -> bool
Expand description

Get the value of the property obj[id], or undefined if no such property exists. The result is stored in vp.

Implements: ES6 7.3.1 Get(O, P).