@bemoje/is-null
v1.0.1
Published
Returns true of value 'v' is null.
Downloads
30
Maintainers
Readme
@bemoje/is-null
Returns true of value 'v' is null.
Version
Travis CI
Dependencies
Stats
Donate
Installation
npm install @bemoje/is-null
npm install --save @bemoje/is-null
npm install --save-dev @bemoje/is-null
Usage
import isNull from '@bemoje/is-null'
isNull(null)
//=> true
isNull('null')
//=> false
isNull(void 0)
//=> false
isNull(undefined)
//=> false
isNull()
//=> false
isNull('undefined')
//=> false
Tests
Uses Jest to test module functionality. Run tests to get coverage details.
npm run test
API
isNull
Returns
true of value 'v' is null.
Parameters
value
any The value to evaluate