/**
* Checks to see if a value is undefined
*
* @function
* @name isUndefined
* @param {*} val A value (of any type)
* @returns {boolean} Whether or not the value is undefined
*/
function isUndefined(val) {
return val === undefined
}
export default isUndefined
Source