Skip to main content
Module

x/rambda/zip-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {zip} from 'rambda'
describe('R.zip', () => { it('happy', () => { const array1 = [1, 2, 3] const array2 = ['A', 'B', 'C']
const result = zip(array1)(array2) result // $ExpectType readonly KeyValuePair<number, string>[] })})