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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {pass} from 'rambda'
describe('R.pass', () => { it('happy', () => { const result = pass(1, 'foo')(String, Number)
result // $ExpectType boolean }) it('with string rules', () => { const result = pass(1, 'foo')('string', 'number')
result // $ExpectType boolean })})
rambda

Version Info

Tagged at
2 months ago