1.0.6 • Published 9 years ago

isnull v1.0.6

Weekly downloads
9
License
-
Repository
github
Last release
9 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

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago