I have an problem, I have two different objects in the same array, they have some arguments in common, so I can access them having no problem.
Now I want to know how can I auto-detect what object I'm accessing to in order to make further actions.
if len(theArray) > 0:
sol = []
for ea in elArray:
...
if ea is Type1:
...
elif ea is Type2:
...
else:
...
Thanks