isDef(any)
{any}
{boolean}}: 返回是否有定义
{boolean}}
console.assert(isDef({}) === true) console.assert(isDef(null) === false) console.assert(isDef(1) === true) console.assert(isDef(void 0) === false)
← isObject typeOf →