Object type

if an object comes back as [Object object] through trace -

is there a method to figure out what type of object it is? for example string, number, movieclip, etc?