alltrue
anytrue
chunklist
coalesce
coalescelist
compact
concat
contains
distinct
element
flatten
index
keys
length
list
lookup
map
matchkeys
merge
one
range
reverse
setintersection
setproduct
setsubtract
setunion
slice
sort
sum
transpose
values
zipmap
You are viewing documentation for pre-release version v1.10.0 (rc). View latest version.
chunklist splits a single list into fixed-size chunks, returning a list of lists.
chunklist(list, chunk_size)
> chunklist(["a", "b", "c", "d", "e"], 2)[ [ "a", "b", ], [ "c", "d", ], [ "e", ],]> chunklist(["a", "b", "c", "d", "e"], 1)[ [ "a", ], [ "b", ], [ "c", ], [ "d", ], [ "e", ],]
On this page: