mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-06-10 07:28:03 +08:00
16 lines
316 B
JavaScript
16 lines
316 B
JavaScript
"use strict";
|
|
|
|
/**
|
|
* isUndefined
|
|
* Checks if a value is undefined or not.
|
|
*
|
|
* @name isUndefined
|
|
* @function
|
|
* @param {Anything} input The input value.
|
|
* @returns {Boolean} `true`, if the input is `undefined`, `false` otherwise.
|
|
*/
|
|
|
|
var u = void 0;
|
|
module.exports = function (input) {
|
|
return input === u;
|
|
}; |