QuestionQ12

VerifiedDeveloping Mule Applications

A function called toUpper must be defined to accept a string named userName and return that string in uppercase.

Which DataWeave code correctly defines the toUpper function?

Explanation

A named DataWeave function uses the syntax fun functionName(parameters) = expression. The upper function converts the userName string to uppercase. MuleSoft: Define DataWeave Functions

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!