Flash Lite 2 |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > Object > isPrototypeOf (Object.isPrototypeOf method) | |||
public isPrototypeOf(theClass:Object) : Boolean
Indicates whether an instance of the Object class is in the prototype chain of the object specified as an argument. This method returns true if the object is in the prototype chain of the object specified by the theClass parameter. The method returns false not only if the target object is absent from the prototype chain of the theClass object, but also if the theClass argument is not an object.
Availability: ActionScript 1.0; Flash Lite 2.0
theClass:Object -
Boolean - A Boolean value: true if the object is in the prototype chain of the object specified by the theClass parameter; false otherwise.