Array Utilities
Array Utilities
Test array manipulation and transformation functions
Back
unique
Array (JSON)
[1, 2, 2, 3, 3, 3]
Get Unique Values
chunk
Array (JSON)
[1, 2, 3, 4, 5]
Chunk size
Split into Chunks
flatten
Array (JSON)
[1, [2, [3, [4]]]]
Depth
Flatten Array
groupBy
Array of objects (JSON)
[{"age": 21}, {"age": 22}, {"age": 21}]
Group by key
Group By Key
paginate
Array (JSON)
[{"id": 1}, {"id": 2}, {"id": 3}, {"id": 4}, {"id": 5}, {"id": 6}, {"id": 7}, {"id": 8}, {"id": 9}, {"id": 10}]
Pagination Type
Offset
Page
Cursor
Offset
Limit
Execute Pagination