Function javascriptcore_sys::JSObjectHasProperty
[−]
[src]
pub unsafe extern "C" fn JSObjectHasProperty(
ctx: JSContextRef,
object: JSObjectRef,
propertyName: JSStringRef
) -> bool
Tests whether an object has a given property.
object: TheJSObjectto test.propertyName: AJSStringcontaining the property's name.
Returns true if the object has a property whose name matches
propertyName, otherwise false.