Warning
This is an experimental function. It may not work as expected and is not guaranteed to be stable. Expect bugs, changes, or removal.
Usage
$arrayReduce[;;;;]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
name | String | Yes | The variable that holds the array |
variable | String | Yes | The variable to load the element value to |
other variable | String | Yes | The other variable to load the second element to |
code | String | Yes | The code to execute for every element, must return a number |
default value | Number | No | The default value, defaults to 0 |
Output
Number