Is there anything like in operator?

I’m wondering if there is something like in operator that works in UI.vision.
For example, when I want to make it do something only when a certain variable is 1,3,4, now I use ||(or operator), like {A}==1 || {A}==3 || {A}==4 But if possible, I’d like to use something like in operator, and make it simpler, like {A} in (1,3,4)
I tried in itself but failed. Is there any alternative way to make it simpler? Thanks

I think ui vision support in javascript OR condition

this is javascript, adapt to it, there’re no fancy operators like in pyhton

i think ui vision have not pyhton inside.

javascript can do every job