is-0
1.0.2 • Public • Published is
Usage
Install
const is = require('is-0')
Example
empty
is.empty('')
is.empty(new String())
is.empty(``)
is.empty(${``})
is.empty([])
is.empty(new Array())
is.empty({})
is.empty(new Object())
is.empty(null)
is.empty(undefined)
not empty
is.empty(1)
is.empty('string')
is.empty([1])
is.empty({a:1})
is.empty(true)
is.empty(false)
is.empty(new Date())
- check
./test/datas/empty.js
Tests
Package Sidebar
Install
Weekly Downloads