[@medialib/medialib-manga-source-mangadex](../README.md) / [Exports](../modules.md) / arrayUtils

# Namespace: arrayUtils

## Table of contents

### Functions

- [splitArrayInMaxSizeChunks](arrayUtils.md#splitarrayinmaxsizechunks)

## Functions

### splitArrayInMaxSizeChunks

▸ **splitArrayInMaxSizeChunks**<`T`\>(`array`, `limit`): `T`[][]

Every **limit**, split the array

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `array` | `T`[] |
| `limit` | `number` |

#### Returns

`T`[][]

the splitted arrays

#### Defined in

node_modules/@medialib/medialib/dist/utils/arrayUtils.d.ts:7
