Kubit
Toggle table of contents
1.0.0-alpha02
common
Platform filter
common
Switch theme
Search in API
Kubit
Kubit
/
kubit.collections.list
/
IntList
/
chunked
chunked
fun
chunked
(
chunkSize
:
Int
)
:
List
<
IntList
>
(
source
)
Splits this list into chunks of specified size.
Parameters
chunk
Size
the size of each chunk
Throws
Illegal
Argument
Exception
if
chunkSize
is not positive