To verify if a variable is null, undefined or empty in ExtJS, you could use
Ext.isEmpty(Mixed value
, [Boolean allowBlank
] ) : Boolean
Returns true if the passed value is null, undefined or an empty string (optional).
Parameters:
value
: MixedThe value to testallowBlank
: Boolean(optional) Pass true if an empty string is not considered empty
Boolean
No comments:
Post a Comment