Module

x/polkadot/util/array/index.ts>arrayFlatten

Package publishing for deno.land/x/polkadot
Go to Latest
function arrayFlatten
import { arrayFlatten } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/array/index.ts";

Examples

import { arrayFlatten } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';

arrayFlatten([[1, 2], [3, 4], [5]]); // [1, 2, 3, 4, 5]

Parameters

arrays: readonly T[][]