Page 1 of 1

Type of object

Posted: 25 Jul 2017 05:09
by fagci
Is there some kind of "instanceof" or isArray() operators to get type of object?

Example:

I have a map with multiple types of objects, and I want to iterate them if type of them is list or map.

Now I develop flow to get list of applications, which can interact as Tasker/Automagic/* plugin.

Re: Type of object

Posted: 25 Jul 2017 14:13
by Martin
There are no such functions yet, but I've added it for the next update.
You could probably use the Java features to determine the type of the variable but it might look complicated.

Regards,
Martin