source: node_modules/ramda-adjunct/es/isNotUndefined.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 598 bytes
Line 
1import { complement } from 'ramda';
2import isUndefined from './isUndefined';
3
4/**
5 * Checks if input value is complement `undefined`.
6 *
7 * @func isNotUndefined
8 * @memberOf RA
9 * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1}
10 * @category Type
11 * @sig * -> Boolean
12 * @param {*} val The value to test
13 * @return {boolean}
14 * @see {@link RA.isUndefined|isUndefined}
15 * @example
16 *
17 * RA.isNotUndefined(1); //=> true
18 * RA.isNotUndefined(undefined); //=> false
19 * RA.isNotUndefined(null); //=> true
20 */
21var isNotUndefined = complement(isUndefined);
22export default isNotUndefined;
Note: See TracBrowser for help on using the repository browser.