Function chakracore_sys::JsHasProperty [] [src]

pub unsafe extern "system" fn JsHasProperty(
    object: JsValueRef,
    propertyId: JsPropertyIdRef,
    hasProperty: *mut bool
) -> JsErrorCode

Determines whether an object has a property. Requires an active script context. The object that may contain the property. The ID of the property. Whether the object (or a prototype) has the property. The code JsNoError if the operation succeeded, a failure code otherwise.