How IF works?

Hi all!!
I want to create list as shown in the picture using IF node.
but I don’t understand how it works…
Does anyone know how?

@vaaSNLDZ ,

what do you want to achive?

filter by 0.19 or 0.14 ? positive or negative values ?

…right now it looks a pit confusing :wink:

could be that if statement is not right, List.Contain, List.Intersect, … a.s.o.

KR

Andreas

I want to get [0, [0.19, -0,19], [0.24, -0.24]]

Your list levels are almost correct. You need to specify test as @L1 still. You also need to match list lengths between all inputs with this kind of structure: 3 values for test, 3 values for true, and 3 values for false.

4 Likes

Merci!!