hasOwnProperty (Object.hasOwnProperty method)

public hasOwnProperty(name:String) : Boolean

Indicates whether an object has a specified property defined. This method returns true if the target object has a property that matches the string specified by the name parameter, and false otherwise. This method does not check the object's prototype chain and returns true only if the property exists on the object itself.

Parameters

name:String -

Returns

Boolean - A Boolean value: true if the target object has the property specified by the name parameter, false otherwise.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00005388.html