Extjs 判断对象是非为null或者为空字符串
时间:2019-03-27 15:12:12
收藏:0
阅读:764
Ext.isEmpty(str,[allowEmptyString])
如果str为
- null
- undefined
- a zero-length array
- a zero-length string (??? Unless the allowEmptyString parameter is set to true)//意思如果第二个参数设为true,则是允许str对象为空字符串
该方法返回true
如果不为上面条件则返回false
原文:https://www.cnblogs.com/fengziblog/p/10607442.html
评论(0)