Syntax
Usage notes
- Lambda functions can only be used as the first or last parameter of a higher-order function. Either position does not affect the calculation.
- The number of arrays must be the same as the input parameters in the lambda function. Otherwise, an error is returned.
- All the arrays must have the same number of elements. Otherwise, an error is returned.
Examples
Example 1: Increment every element of the array by 100.x is greater than 1.5. If yes, log(x) is returned for the element. If not, (x+y) is returned for the corresponding element.