This function returns the type of an expression as a string. It does not evaluate the expression at all, which might be somewhat confusing. Example:
( exit(1) )
This will return the string
since exit is a function that returns void. It will not execute the function
and exit the process as you might expect.
If you want to know the type after evaluation, use