Array Reduce Functions
AMPS includes a set of functions designed to operate over an array element in a message and produce a value. These functions take an array within a single message as input, and reduce that array to a single value as output.
Function | Parameters | Description |
---|---|---|
| array | Returns the number of elements in the array. |
| array | Returns the largest value in the array, using the standard AMPS |
| array | Returns the minimum value in the array, using the standard AMPS |
| array | Returns a number produced by adding all of the elements in the array.
|
| array, delimiter, null_replacement | Returns a string comprised of the elements of the array, separated by the provided delimiter.
|
Last updated