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
Ext.isEmpty(str,[allowEmptyString])
如果str為
該方法返回true
如果不為上面條件則返回false
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。