Skip to main content
Module

x/rambda/flatten-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {flatten} from 'rambda'
describe('flatten', () => { it('happy', () => { const result = flatten<number>([1, 2, [3, [4]]]) result // $ExpectType readonly number[] })})