Array functions
Functions for working with arrays
These actions perform operations on data that exist in arrays - or generate arrays based on data.
| Function | Description |
|---|---|
append | Add items to the end of an array. |
contains | Check if an array or string contains a value. |
distinct | Get unique items from an array. |
distinct_by | Get unique items from an array based on a property. |
group_adjacent | Group adjacent elements that share a property value. |
items_to_object | Convert two-dimensional array into an object. |
length | Get the length of an array, object or string. |
list_join | Join lists of objects. |
list_range_fill | Fill missing values in a list. |
map | Apply an expression to all the elements of an array. |
parent_child_index | Provide subarrays with consistent indexing. |
reverse | Reverse the order of an array or a string. |
sort | Sort an array in ascending order. |
sort_by | Sort an array of objects by a property or a value of a function. |
split | Split an array into two. |
split_array | Split an array into subarrays of a given length. |
take_or_default | Get the first part of the array. |
to_array | Wraps data in an array. |
to_dictionary | Converts an array into an object with a specific structure. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article