MuleSoft Certified Developer – Level 1 — Question 91
What module and operation will throw an error if a Mule event's payload is not a number?
Answer options
- A. Validation module's Is number operation
- B. Filter module's Is number operation
- C. None of these
- D. Validation module's Is not a number operation
Correct answer: A
Explanation
The Validation module's Is number operation is designed to check if the payload is numeric and will throw an error if it is not. The Filter module's Is number operation does not exist, and the option 'Is not a number' would not throw an error for non-numeric values but would instead pass through the values that are not numbers.