Determine if variant is an array, and type of array

I need to store an array in a variant (e.g. listbox.celltag), and when I retrieve the value, I want to make sure that it is the correct type before I use it. I usually have stored either a class instance, or a dictionary, and those are easy to test with ‘ISA’ (I first test to see if the objectValue is nil, and that is false if the tag is a class instance, dictionary, or array), but I can’t seem to find how to tell that the variant is an array , and to make sure that the array is the correct type (class instance, string, integer, etc.)

This is covered in the LR under Variant.

http://documentation.xojo.com/index.php/Variant

Check my thread from yesterday - solution included :slight_smile:

https://forum.xojo.com/23219-identify-a-array

Thanks, I think I must have looked everywhere except the obvious variant pages in the LR.