ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
26 lines (23 loc) • 417 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _ramda = require("ramda");
/**
* Returns true if argument is RegExp.
*
* @func
* @category Type
*
* @example
*
* R_.isRegExp(/foo/) // true
* R_.isRegExp(0) // false
*
* @sig a -> Boolean
*
*/
var isRegExp = (0, _ramda.is)(RegExp);
var _default = isRegExp;
exports.default = _default;