pub unsafe extern "C" fn JSObjectHasPropertyForKey(
ctx: JSContextRef,
object: JSObjectRef,
propertyKey: JSValueRef,
exception: *mut JSValueRef,
) -> boolExpand description
Tests whether an object has a given property using a JSValueRef as the property key.
ctx: The execution context to use.object: TheJSObjectRefto test.propertyKey: AJSValueRefcontaining the property key to use when looking up the property.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns true if the object has a property whose name matches
propertyKey, otherwise false.
This function is the same as performing propertyKey in object from JavaScript.