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