Function mozjs::jsapi::JS_HasOwnPropertyById

source ยท
pub unsafe extern "C" fn JS_HasOwnPropertyById(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<PropertyKey>,
    foundp: *mut bool,
) -> bool
Expand description

Determine whether obj has an own property with the key id.

Implements: ES6 7.3.11 HasOwnProperty(O, P).