Hi Nikolai, Thank you very much, this was what i was looking for, as i am calling two functions named getArray and getDictionary which are doing propertyListSerialization, but before calling these function i needed to enquire whether it is Array or Dictionary.