Hello,

Does anyone know if it's possible to check if an object has a given
property?

objADGLD is of type AdvancedDataGridListData which always contains a
property called .item

Looking at the debugger, objADGLD.item's Declared Type can either be an
Object or XML in different situations.

When it is an Object I want test if objADGLD.item.GroupLabel exists.

In JavaScript, I could've done this...

if ((objADGLD.item) && (objADGLD.item.GroupLabel))
{ // do something... }

... but it doesn't seem to be working for me in Flex.



Are there any good object inspection routines to help with this?


Thanks,
Nick

Reply via email to