Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/immutable.d.ts>flatten

Faster and smaller alternative to Ramda
Latest
function flatten
import { flatten } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

It deeply flattens an array.

Parameters

list: readonly any[]

Returns

readonly T[]