How do I determine the attribute type via the SDK? More specifically whether at Attribute is an array. I've successfully retrieved both a double and a double() via AFValue.Value however I'd like to test the AFValue (or the parent Attribute) in order to decide what subsequent actions to take. I've tried checking a few properties without success. I realise I could probably copy the value(s) into a local variable and then interrogate this but this seems very clumsy.
A simple question. Mine usually are :-)