pub unsafe extern "C" fn JSObjectHasProperty(
ctx: JSContextRef,
object: JSObjectRef,
propertyName: JSStringRef,
) -> boolExpand description
Tests whether an object has a given property.
object: TheJSObjectRefto test.propertyName: AJSStringRefcontaining the property’s name.
Returns true if the object has a property whose name matches
propertyName, otherwise false.