Function jscjs_sys::api::JSObjectHasProperty[][src]

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

@function @abstract Tests whether an object has a given property. @param object The JSObject to test. @param propertyName A JSString containing the property’s name. @result true if the object has a property whose name matches propertyName, otherwise false.