I'm working on a query tool for LabVIEW code (treating VIs and Projects as a graph database).
So this means filtering, splitting arrays into 'criterium true'\'criterium false'. That's exactly what this node would do.
Now why is this ironic? If the tool was finished, I could use it to find these situation in my code. 😁
"All the time" probably turns out to be a few times 🙄.
I'd probably make the vim also accept scalars, so it can be used like this:
In this example, your version would be more applicable, but in other situations it seems wasteful to build an array of Booleans and split after the fact. Also, why not?
There's a third situation where the element is an array and the Boolean is a scalar:
EDIT: You can use a Swap Values for that, but again, why not?