moltres-utils
Version:
Utils for Moltres apps
25 lines (22 loc) • 510 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* Checks if `value` is `undefined`.
*
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
* @example
*
* isUndefined(void 0)
* // => true
*
* isUndefined(null)
* // => false
*/
const isUndefined = value => value === undefined;
var _default = isUndefined;
exports.default = _default;
//# sourceMappingURL=isUndefined.js.map
;