Function script::dom::bindings::import::module::jsapi::JS_GetPropertyById

source ยท
pub unsafe extern "C" fn JS_GetPropertyById(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<PropertyKey>,
    vp: MutableHandle<Value>,
) -> 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).