Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 54

What DataWeave 2.0 type can be used as input to a map operation?

    Correct Answer: B

    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.

Discussion
ilya_tsyOption: B

Array is correct

sirious09Option: B

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."