Skip to content

gearcase/is-null

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-null

Checks if the given value is null.

MIT License

build:? coverage:?

Install

$ npm install --save is-null 

Usage

var isNull = require('is-null');

isNull(null);     // => true

isNull(void 0);   // => false
isNull('abc');    // => false
isNull(123);      // => false
isNull(true);     // => false
isNull(false);    // => false
isNull({});       // => false
isNull([]);       // => false
isNull(NAN);      // => false

Related

  • is-nil - Checks if the given value is null or undefined.
  • is-window - Checks if the given value is a window object.
  • is-native - Checks if the given value is a native function.
  • is-array-like - Checks if the given value is an array or an array-like object.

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

About

Checks if the given value is null.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published