UNPKG

bingo-functional-js

Version:

A port of the PHP bingo-functional library

15 lines (12 loc) 242 B
/** * isUndefined function * isUndefined :: a -> Bool * @param {*} val * @returns {boolean} * @example * * isUndefined(undefined) * // => true */ const isUndefined = (val) => typeof val === 'undefined' module.exports = isUndefined