UNPKG

xiaohejs

Version:

🎈 小何同学的JavaScript工具箱

2 lines (1 loc) 168 B
function t(t){return null==t||(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&"function"==typeof t.trim?t.trim().length<=0:t.length<=0)}export{t as isEmpty};