UNPKG

moltres-utils

Version:
30 lines (26 loc) 639 B
"use strict"; require("core-js/modules/es6.object.define-property"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /** * Checks if `value` is `undefined`. * * @function * @since v0.0.3 * @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 */ var isUndefined = function isUndefined(value) { return value === undefined; }; var _default = isUndefined; exports.default = _default; //# sourceMappingURL=isUndefined.js.map