MCD-LEVEL-1 · Question #162
What is the output of Dataweave Map operator?
The correct answer is D. Array. Returns an array that is the result of applying a transformation function (lambda) to each of the MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/dataweave-cookbook-map The map operator is a function in Dataweave which iterates over the items in an array and…
Question
What is the output of Dataweave Map operator?
Exhibit
Options
- AMap
- BObject
- CString
- DArray
How the community answered
(33 responses)- B6% (2)
- C3% (1)
- D91% (30)
Explanation
Returns an array that is the result of applying a transformation function (lambda) to each of the MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/dataweave-cookbook-map The map operator is a function in Dataweave which iterates over the items in an array and outputs them into a new array. It basically accepts input as a list of items in an array and manipulates the items in the array in order to form a new array as an output. I have created below chart for your easier understanding:
Topics
Community Discussion
No community discussion yet for this question.
