What DataWeave 2.0 type can be used as input to a map operation?
What DataWeave 2.0 type can be used as input to a map operation?
The DataWeave 2.0 type that can be used as input to a map operation is an Array. Map is a function that iterates over an array, applying a transformation to each element in the array.
Array is correct
B - "To apply the transformation to each element in the array use the map function. The map function as 2 parameters, the input array and an optional mapper function used to name the parameters that represent the object and the index of the current elements."