Skip to content
The Elk Shell Language
Search
K
Main Navigation
Reference
Standard Library
GitHub
Appearance
GitHub
Menu
Return to top
On this page
Table of Contents for current page
iter::chunks
chunks(items, size: Integer)
Parameter
Type
Description
items
Iterable
The items to split into chunks
size
Integer
The maximum size of each chunk
Returns
(Generator) A list of chunks where each chunk is a list of items of the given size.