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

intersection-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {intersection} from 'rambda'
const list1 = [1, 2, 3]const list2 = [1, 3, 5]
describe('R.intersection', () => { it('happy', () => { const result = intersection(list1, list2) result // $ExpectType number[]
const curriedResult = intersection(list1)(list2) curriedResult // $ExpectType number[] })})
rambda

Version Info

Tagged at
2 months ago