Function JSObjectHasProperty

Source
pub unsafe extern "C" fn JSObjectHasProperty(
    ctx: JSContextRef,
    object: JSObjectRef,
    propertyName: JSStringRef,
) -> bool
Expand description

Tests whether an object has a given property.

Returns true if the object has a property whose name matches propertyName, otherwise false.

§See also