I would print the type of the expression only, not its value since this is a check against its type.