x/rambda/source/match-spec.ts
123456789101112131415import {match} from 'rambda'const str = 'foo bar'describe('R.match', () => { it('happy', () => { const result = match(/foo/, str) result // $ExpectType string[] }) it('curried', () => { const result = match(/foo/)(str) result // $ExpectType string[] })})