Files
lodash/isUndefined.js
John-David Dalton 6cb3460fce Remove semicolons.
2017-02-05 22:22:04 -08:00

21 lines
380 B
JavaScript

/**
* Checks if `value` is `undefined`.
*
* @since 0.1.0
* @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
}
export default isUndefined