Expand description
Built-in array functions
Functionsยง
- append
- $append(array1, array2) - Append arrays/values
- count
- $count(array) - Count array elements
- distinct
- $distinct(array) - Get unique elements
- exists
- $exists(value) - Check if value exists (not null/undefined)
- reverse
- $reverse(array) - Reverse array
- shuffle
- $shuffle(array) - Randomly shuffle array elements Uses Fisher-Yates (inside-out variant) algorithm
- sort
- $sort(array) - Sort array
- values_
equal - Compare two JSON values for deep equality (JSONata semantics)