Boolean for a list criteria

Hi I am trying to find a way to say to dynamo that when I have Pipe and piping system in the same list return false and when I have pipingsystem and standard return True. Is their a way to do this?

Try List.ContainsItem. You’ll probably have to convert your elements to a string so it’s easier to compare.

Once I’ve done that how do i get dynamo to reply with

if this list contains false false then the list is false if its is false true then it is true

List.Contains is the quickest way again.

Or List.AnyTrue :slight_smile:

1 Like

I couldn’t get those to work the way i wanted. But I did this to get it instead.

As @Jonathan.Olesen said, a node for Any True is what you want to use in this case.