How to get the type of a symbol in a macro?

If you could tell us what you are trying to accomplish, it would be easier to help you implement it.