判断字符串是否为空,包括判断null/undefined

来源:互联网 发布:电信80端口 编辑:程序博客网 时间:2024/05/21 08:41
/**
* 判断字符串是否为空,包括判断null/undefined
* @param {Object} str
*/
isEmpty : function(str) {
return !this.isNotEmpty(str);
},
0 0
原创粉丝点击