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

binary-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {binary} from 'rambda'
describe('R.binary', () => { it('happy', () => { const result = binary(function(x: number, y: number, z) { expect(arguments.length).toBe(2) expect(z).toBeUndefined() expect(x).toBe(10) expect(y).toBe(20) return x + y })(10, 20, 30) result // $ExpectType number })})
rambda

Version Info

Tagged at
2 months ago