Function ul_sys::JSObjectHasPropertyForKey[][src]

pub unsafe extern "C" fn JSObjectHasPropertyForKey(
    ctx: JSContextRef,
    object: JSObjectRef,
    propertyKey: JSValueRef,
    exception: *mut JSValueRef
) -> bool
Expand description

@function @abstract Tests whether an object has a given property using a JSValueRef as the property key. @param object The JSObject to test. @param propertyKey A JSValueRef containing the property key to use when looking up the property. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result true if the object has a property whose name matches propertyKey, otherwise false. @discussion This function is the same as performing “propertyKey in object” from JavaScript.