ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
19 lines (18 loc) • 349 B
JavaScript
import { complement } from 'ramda';
import isRegExp from './isRegExp';
/**
* Returns true if argument is not RegExp.
*
* @func
* @category Type
*
* @example
*
* R_.isNotRegExp(/foo/) // false
* R_.isNotRegExp(0) // true
*
* @sig a -> Boolean
*
*/
var isNotRegExp = /*#__PURE__*/complement(isRegExp);
export default isNotRegExp;