x/rambda/test-spec.ts
123456789101112131415161718import {test} from 'rambda'const input = 'foo 'const regex = /foo/describe('R.test', () => { it('happy', () => { const result = test(regex, input) result // $ExpectType boolean }) it('curried', () => { const result = test(regex)(input) result // $ExpectType boolean })})