<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@essex/toolbox](./toolbox.md) &gt; [flatMap](./toolbox.flatmap.md)

## flatMap() function

Flattens a multi dimensional array

<b>Signature:</b>

```typescript
export declare function flatMap(arr: any[][]): any[];
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  arr | any\[\]\[\] | The multi-dimensional array |

<b>Returns:</b>

any\[\]

