What am I missing?
two of the same lists, connect to setdifference node results in an obvious ‘empty list’.
Now I’m doing some code block to do an “if empty list, then do something, else show list”.
BUT the phrase “Empty List” is ignored, so is “” … now what?
you could use Clockwork node “List.ReplaceEmptyList”. I try with python and works too.
The phrase “Empty List” is taken as string.
@franciscopossetto yes, python makes this a breeze.
But let’s stick to a single code block, for fun times. How do we reproduce the same output as python does? or as my example is trying to do.
if a == empty list (or: if not a) … do this, else that.
1 Like
@3Pinter Use the built in List.IsEmpty
3 Likes