deno.land / x / rambda@v9.1.1 / 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[] })})
Version Info