Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The list. |
2 | Any | The function applied. |
Expression | Result |
|---|---|
ForEach( List(1,1,2,3,5), (%0 * 2) ) | List(2,2,4,6,10) |
ForEach( List("","a","bcdedfgh"), Left(%0,2) ) | List("","a","bc") |
ForEach( List(List(),List(1),List(2,3)), Sum(%0) ) | List(0,1,5) |