Contents

JSObjectHasProperty(_:_:_:)

Tests whether an object has a specified property.

Declaration

func JSObjectHasProperty(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ propertyName: JSStringRef!) -> Bool

Parameters

Return Value

true if the object has a property with a name that matches propertyName; otherwise, false.

See Also

Working with Objects