@umbraco-cms/backoffice
Preparing search index...
packages/core/utils
batchArray
Function batchArray
batchArray
<
BatchEntryType
>
(
array
:
BatchEntryType
[]
,
batchSize
:
number
,
)
:
BatchEntryType
[]
[]
Splits an array into chunks of a specified size
Type Parameters
BatchEntryType
Parameters
array
:
BatchEntryType
[]
The array to split
batchSize
:
number
The size of each chunk
Returns
BatchEntryType
[]
[]
An array of chunks
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@umbraco-cms/backoffice
Loading...
Splits an array into chunks of a specified size