UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

10 lines (9 loc) 250 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.test = void 0; function test(re, text) { if (arguments.length === 1) return (_text) => test(re, _text); return re.test(text); } exports.test = test;