Filter empty value in a list


How to filter empty value in a list?

See my atempt in the pic.

Filter empty list

I’m not super up with the play, but try “” next to each other. At this point your filtering by a ‘space’. Worth a shot :smiley:


Filter empty list solved








1 Like

Check it out:

The If node, with a true/false, seems to resolve this, esp. for using with the filter by bool mask.

1 Like

You can use a simple line in Python, to filter null values:

OUT = filter(None, IN[0])

all the null values will be removed from your IN[0] list.

1 Like