How to check the content of a Variant variable?

have you trried myvariant.ISTEXT or . myvariant.ISCODE ?