YouSeeMe
contestada

What is the function of the noun clause in the sentence?

The baby smiles at whomever he meets.

-appositive
-subject
-object of the preposition
-indirect object