public static function objectInheritanceTreeContains(instance:Object, classOrInterfaceNames:Array):Boolean
Indicates whether an instance has some classes on its inheritance tree.
Example :
...
var myComponent : UIComponent = getChildAt( i );
trace( "Inheriting : " + InstrospectionUtils.objectInheritanceTreeContains( myComponent, ["package::SomeClass", "package::ISomeInterface"] );
will output Inheriting : true because UIComponent extends DisplayObject.
Parameters
| instance:Object |
| |
| classOrInterfaceNames:Array |
Returns