UNPKG

bingo-functional-js

Version:

A port of the PHP bingo-functional library

15 lines (12 loc) 198 B
/** * isNull function * isNull :: a -> Bool * @param {*} val * @returns {boolean} * @example * * isNull(null) * // => true */ const isNull = (val) => val === null module.exports = isNull