Packagecom.mapquest.util
Classpublic class CommonUtil



Public Methods
 MethodDefined by
  
mqIsClass(strClassName:String, newObj:*, allowNull:Boolean):Boolean
[static] Utility function to wrap null and class type errors
CommonUtil
Method detail
mqIsClass()method
public static function mqIsClass(strClassName:String, newObj:*, allowNull:Boolean):Boolean

Utility function to wrap null and class type errors

Parameters
strClassName:String
 
newObj:*
 
allowNull:Boolean

Returns
Boolean

Throws
— 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.