isNull source npm

_.isNull(value)

Checks if value is null.

Arguments

  1. value (*)

    The value to check.

Returns (boolean)

Returns true if value is null, else false.

Example

_.isNull(null);
// => true

_.isNull(void 0);
// => false