Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
chunks
Function chunks
Splits array into specified number of chunks
chunks
<
T
>
(
n
:
number
,
xs
:
T
[]
)
:
T
[]
[]
Type Parameters
T
Parameters
n
:
number
Number of chunks
xs
:
T
[]
Array to split
Returns
T
[]
[]
Array of n chunks
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Splits array into specified number of chunks