Mulesoft Certified Developer Mcd · Free Practice Question Easy

Question 14

Refer to the exhibits. The Database Select operation returns five rows from a database.

What is logged by the Logger component?



  • A

    LinkedHashMap

  • B

    Array

  • C

    CaseInsensitiveHashMap

  • D

    Object

Reveal correct answer

Correct answer: B

Explanation

Mule Ref Doc : typeOf | MuleSoft Documentation

typeOf

Returns the type of a value.

Parameters

Name : value

Description : A string, object, array, number, or other supported type.

Example

This example identifies the type of several input values.

Source

Output


As DB select return array as payload. Hence logger will log typeOf(Payload) as array

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need