pub unsafe extern "C" fn JS_HasPropertyById(
cx: *mut JSContext,
obj: Handle<*mut JSObject>,
id: Handle<PropertyKey>,
foundp: *mut bool,
) -> bool
Expand description
Compute the expression id in obj
.
If obj has an own or inherited property obj[id], set *foundp = true and return true. If not, set *foundp = false and return true. On error, return false with an exception pending.
Implements: ES6 [[Has]] internal method.