AS3 function that returns the type of a variable

What is the ActionScript 3 function that returns the type of a variable ?

I remember that there is one but I can’t remember it nor can I find any reference of it.