Objects and classes utilities.
public static function getClass(object:*):ClassGet object class.
Parameters
Returns
public static function getClassName(object:*):StringGet object class name.
Parameters
Returns
| String — object's class name |
public static function getClassTree(object:*, topClass:Class = null):ArrayGet object class hierarchy.
Parameters
| object:* — object that is being used to get hierarchy |
| |
| topClass:Class (default = null) — class, which is limiting hierarchy from the top. If class is not given, full classes hierarchy to Object returns. |
Returns
| Array — an array containing class hierarchy of the specified object |