Latest
function flattenDeep
import { flattenDeep } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/array.js";

Recursively flattens array.

Examples

_.flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]

Parameters

array

The array to flatten.