Array Add to End
| Parameter | Purpose | Example |
|---|---|---|
| arrayVariable | This is the array variable you want to target with the array operation | arrayVariable |
| value | The value you want to apply to the array operation | 5 |
Example
Example

Array Add to Beginning
| Parameter | Purpose | Example |
|---|---|---|
| arrayVariable | This is the array variable you want to target with the array operation | arrayVariable |
| value | The value you want to apply to the array operation | 5 |
Example
Example

Array Remove From End Of
| Parameter | Purpose | Example |
|---|---|---|
| arrayVariable | This is the array variable you want to target with the array operation | arrayVariable |
| removedElement | The variable you want to store the removed item in | removedElement |
Example
Example

Array Remove From Beginning Of
| Parameter | Purpose | Example |
|---|---|---|
| arrayVariable | This is the array variable you want to target with the array operation | arrayVariable |
| removedElement | The variable you want to store the removed item in | removedElement |
Example
Example

Array Merge
| Parameter | Purpose | Example |
|---|---|---|
| arrayVariable | This is the variable that contains the first array you want to merge. | arrayVariable |
| value | This is the second array that you want to merge. It could be a hardcoded array or from a variable. | [1,2,3,4,5] $anotherArrayVariable |
Example
Example

Find First Element In
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store the found element | foundElement |
Example
Example


Find First Element Index In
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store the index of found element | foundElement |
Example
Example


Has Any Element
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store the index of found element | foundElement |
Example
Example


Has Every Element
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store the result | foundElement |
Example
Example


Find All Elements
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store all of the found elements | allFoundElements |
Example
Example


Get Element Count
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | This is the variable that contains the array you want to find the element in. | $arrayVariable |
| if | This is where you define the conditions of the element you want to find. Use $this to represent each individual item in the array. | if (`$this == 1`) |
| as | The variable that you want to store the count of all of the found elements | allFoundElements |
Example
Example


Map (Transform Each Element)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | The array to map over. | $arrayVariable |
| as | The variable to store the mapped array. | mappedArray |
| value | The expression to apply to each element. $this refers to the current element. | $this * 2 |
Example
Example
Partition (Split by Condition)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | The array to partition. | $arrayVariable |
| if | The condition to split the array. $this is the current element. | $this > 0 |
| as | The variable to store the result (object with true and false keys). | $partitioned |
Example
Example
Group By (Organize by Key)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayVariable | The array to group. | $arrayVariable |
| as | The variable to store the grouped result. | $grouped |
| key | The key to group by (expression using $this). | $this.category |
Example
Example
Difference (Array Diff)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayA | The array to subtract from. | $arrayA |
| $arrayB | The array of values to remove. | $arrayB |
| as | The variable to store the result. | $diffResult |
Example
Example
Intersection (Array Intersect)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayA | The first array. | $arrayA |
| $arrayB | The second array. | $arrayB |
| as | The variable to store the result. | $intersectResult |
Example
Example
Union (Unique Merge)
| Parameter | Purpose | Example |
|---|---|---|
| $arrayA | The first array. | $arrayA |
| $arrayB | The second array. | $arrayB |
| as | The variable to store the result. | $unionResult |
Example
Example