• File: isUndefined.js
  • Full Path: /var/www/nodejs/callDir/node_modules/lodash/isUndefined.js
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 416 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/**
 * Checks if `value` is `undefined`.
 *
 * @static
 * @since 0.1.0
 * @memberOf _
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
 * @example
 *
 * _.isUndefined(void 0);
 * // => true
 *
 * _.isUndefined(null);
 * // => false
 */
function isUndefined(value) {
  return value === undefined;
}

module.exports = isUndefined;