Method | Defined By | ||
---|---|---|---|
GetClass(obj:Object):Class [static]
Returns the constructor class of an object
| ObjectUtil | ||
HasMethod(obj:Object, methodName:String):Boolean [static]
Returns if the object contains the method
| ObjectUtil | ||
IsEmpty(obj:*):Boolean [static]
Returns if an object is empty. | ObjectUtil | ||
IsExtending(class1:Class, class2:Class):Boolean [static]
Returns if a class is extending from another class. | ObjectUtil | ||
IsNull(obj:Object):Boolean [static]
Returns if the object is null. | ObjectUtil | ||
IsUndefined(obj:Object):Boolean [static]
Returns if the object is undefined. | ObjectUtil | ||
IsValid(obj:Object):Boolean [static]
Returns if an object is valid (checks for IsValid function). | ObjectUtil |
GetClass | () | method |
public static function GetClass(obj:Object):Class
Returns the constructor class of an object
Parameters
obj:Object — The object
|
Class —
|
HasMethod | () | method |
public static function HasMethod(obj:Object, methodName:String):Boolean
Returns if the object contains the method
Parameters
obj:Object — The object
| |
methodName:String — The method name
|
Boolean —
|
IsEmpty | () | method |
public static function IsEmpty(obj:*):Boolean
Returns if an object is empty.
Parameters
obj:* — The object
|
Boolean —
|
IsExtending | () | method |
public static function IsExtending(class1:Class, class2:Class):Boolean
Returns if a class is extending from another class.
Parameters
class1:Class — Class
| |
class2:Class — Class that it could be extending from
|
Boolean —
|
IsNull | () | method |
public static function IsNull(obj:Object):Boolean
Returns if the object is null.
Parameters
obj:Object |
Boolean —
|
IsUndefined | () | method |
public static function IsUndefined(obj:Object):Boolean
Returns if the object is undefined.
Parameters
obj:Object |
Boolean —
|
IsValid | () | method |
public static function IsValid(obj:Object):Boolean
Returns if an object is valid (checks for IsValid function).
Parameters
obj:Object |
Boolean —
|