isUndefined source npm

_.isUndefined(value)

Checks if value is undefined.

Arguments

  1. value (*)

    The value to check.

Returns (boolean)

Returns true if value is undefined, else false.

Example

_.isUndefined(void 0);
// => true

_.isUndefined(null);
// => false