1.0.6 • Published 10 years ago

isnull v1.0.6

Weekly downloads
9
License
-
Repository
github
Last release
10 years ago

isNull

Because the name empty has existed. Therefore it called isNull. It use to check empty array or empty object. You can take it as a function! :D

install

$ npm install isnull

example

var isNull = require('isnull');

var emptyObject = {};
var emptyArray = [];
var object = { "isnull": false };
var array = [ "notNull" ];

console.log(isNull(emptyObject));
// -> return true

console.log(isNull(emptyArray));
// -> return true

console.log(isNull(object));
// -> return false

console.log(isNull(array));
// -> return false
1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago