Function js::jsapi::JS_HasPropertyById [] [src]

pub unsafe extern "C" fn JS_HasPropertyById(
    cx: *mut JSContext,
    obj: HandleObject,
    id: HandleId,
    foundp: *mut bool
) -> bool

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.