IF Node Check Result is empty array , if Empty then No Ops

Spend last couple hours trying to figure out.

If there a way to compare empty array?

If Ture → Do Nothing
(Empty)False → Do Something

1 Like

Hi @Victor_Tong

You are checking a boolean value. This is probably where it is going wrong. Try using the string condition.
Also you can probably use the option “is empty” or “is not empty”.

image

Love it

Hopefully can help someone else if they work in the array

2 Likes

Checking for an empty array is now much easier in the if/filter/switch nodes: you can choose Array > Is Empty from the comparison drop-down:

1 Like