source: node_modules/ramda-adjunct/es/isNotSet.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: 591 bytes
RevLine 
[d24f17c]1import { complement } from 'ramda';
2import isSet from './isSet';
3
4/**
5 * Checks if value is complement of `Set` object.
6 *
7 * @func isNotSet
8 * @memberOf RA
9 * @category Type
10 * @since {@link https://char0n.github.io/ramda-adjunct/2.27.0|v2.27.0}
11 * @sig * -> Boolean
12 * @param {*} val The value to test
13 * @return {boolean}
14 * @see {@link RA.isSet|isSet}
15 * @example
16 *
17 * RA.isNotSet(new Map()); //=> true
18 * RA.isNotSet(new Set()); //=> false
19 * RA.isNotSet(new Set([1,2]); //=> false
20 * RA.isNotSet(new Object()); //=> true
21 */
22
23var isNotSet = complement(isSet);
24export default isNotSet;
Note: See TracBrowser for help on using the repository browser.