UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

23 lines (20 loc) 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ramda = require("ramda"); /** * Constructs RegExp. * * @func * @category Function * * @example * * test(R_.constructRegExp('end$', 'gi'), 'in the end') // true * */ var constructRegExp = (0, _ramda.constructN)(2, RegExp); var _default = constructRegExp; exports.default = _default;