Description
A copy of the specified array with the values mapped according to the Mapping Expression that is evaluated for each element.
Example
Let's say we have an array with a bunch of numbers;
Global.A = [2, 4, 7]
Using Mapped Array we can alter all these values with 1 action.
Global.A = Mapped Array(Global.A, Current Array Element * 2)
This multiplies all elements in the array by 2, resulting in the following array;
Global.A = [4, 8, 14]
Snippet
Mapped Array(Global.variableName, Current Array Element);
Properties
Returns: Array (Object)
Parameters: Array, Mapping expression
Array
Type: Array (Object), Default: Global Variable
The array whose copy will be sorted.Mapping expression
Type: Object, Default: Current Array Element
The mapping expression that is evaluated for each element of the copied array. Use the Current Array Element value to reference the element of the array currently being considered.