deno.land / x / rambda@v9.1.1 / source / match-spec.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {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[] })})
rambda

Version Info

Tagged at
2 months ago