Array functions
Functions for working with arrays
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. |
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. |
Updated 10 months ago