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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import {and} from 'rambda'
describe('R.and', () => { it('happy', () => { const result = and(true, false) result // $ExpectType boolean }) it('curried', () => { const result = and('foo')(1) result // $ExpectType string | 1 })})
rambda

Version Info

Tagged at
2 months ago