import { equals } from 'ramda'; import stubUndefined from './stubUndefined'; /** * Checks if input value is `undefined`. * * @func isUndefined * @memberOf RA * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1} * @category Type * @sig * -> Boolean * @param {*} val The value to test * @return {boolean} * @see {@link RA.isNotUndefined|isNotUndefined} * @example * * RA.isUndefined(1); //=> false * RA.isUndefined(undefined); //=> true * RA.isUndefined(null); //=> false */ const isUndefined = equals(stubUndefined()); export default isUndefined;