Short method of converting a numeric list to true/false

I like to convert this
untitled script pic (75)
to this

Anyone get a nice Snap!py method?

Bonus points if it handles the 4th element being blank as well :slight_smile:

Here's a very simple way using hyperblocks.

and yes, it does handle blank as false.

Genius level thinking :slight_smile:

Inspired me to come up with this to treat any non-zero value as true

<not>
you used this before,if i recall correctly
but actually its better to do
<not 1-list>
by using 1- to replace a not you can change it to number(not text) and then to boolean

Like this?

that works too

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.