| Method | Defined by | ||
|---|---|---|---|
|
mqIsClass(strClassName:String, newObj:*, allowNull:Boolean):Boolean
[static]
Utility function to wrap null and class type errors
| CommonUtil | ||
| mqIsClass | () | method |
public static function mqIsClass(strClassName:String, newObj:*, allowNull:Boolean):BooleanUtility function to wrap null and class type errors
ParametersstrClassName:String |
|
newObj:* |
|
allowNull:Boolean |
Boolean |
— This will throw an exception if the newObj is not the same type as
this object.
|
|
— This will throw an exception if the newObj is null and the allowNull
is false.
|