Skip to main content
Module

x/rambda/transpose-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {transpose} from 'rambda'
const input = [ ['a', 1], ['b', 2], ['c', 3],]
describe('R.transpose', () => { it('happy', () => { const result = transpose(input)
result // $ExpectType readonly (readonly (string | number)[])[] })})