I’m trying to compare 2 lists with equal numbers in each list but similar values.
e.g. 1,2,3,5,7,8,9 and 1,2,3,4,5,6,7,8,9. The result i’m looking for is
true
true
true
false
true
false
true
true
true
Could someone point me in the right direction of where to start, I’ve tried comparing lists with a formula node but that only works until the lists get out of sync and beyond that I’m at a loss…
Slick, thanks for that, I’ve added that to my library of useful functions!
I have one other question though - if you look at the attached script, is there an easy way to apply the boolean function to sublists rather than the top level list? Please forgive me if this is obvious but just now I need to run the filter on each list individually once I’ve separated them out.
Thanks for looking at this - for now I’m running with Thomas’ solution as it’s just using standard nodes rather than code (my understanding of code is improving but still has a long way to go!).
I am trying to compare these lists but by using the methods mentioned above, but I does not work. Any ideas? I have tried to set the nod to longest and to shortest in the List.ContainsItem node but it still does not work.
@Vikram_Subbaiah, really simple and easy way to play with boolean values as a beginner. I tried to do as you, but I get a wrong output. Why is that? Any suggestions?