Lodash isnil

Checks if value is null or undefined.

_.isNil(null);
// => true
 
_.isNil(void 0);
// => true
 
_.isNil(NaN);
// => false
deadman