Drop sublists with a False value in index '1'

I have a lists of Sublists, and I would like to completely drop any Sublist with a value of “false” in the ‘1’ index.
Is there a node that will accomplish this, or will I have to approach this a bit differently?

@jameshitt something like this?

1 Like

@jameshitt

1 Like

Thank you very much!
List.FilterByBoolMask would have just went right over my head.
List.Contains was actually not necessary because I had a list of the Booleans in a previous step; but the node, plus the “Levels” toggle was something I completely forgot about in all the tutorials I watched. I will make sure to remember that feature.

Thank you! Another method for isolating sublist parts based on index. I won’t forget it!

1 Like