npm.io
1.0.0 • Published 5 years ago

is-unnull

Licence
MIT
Version
1.0.0
Deps
1
Size
2 kB
Vulns
0
Weekly
0

is-unnull

Return true if the given value is unnull.

Install

Install with npm:

$ npm install --save is-unnull

Usage

var isUnnull = require('is-unnull');

isUnnull(0);
//=> true
isUnnull(null);
//=> false
isUnnull("2");
//=> true
isUnnull(undefined);
//=> true

Keywords