The switch node has a number of tests and the opposite of them
e.g
== and !=
< > >= <= etc
is true and is false
is null and is not null
is empty and is not empty
but there are others with just one method
has key
is between
contains
matches regex
is of type
I'm often wanting "not contains" and either end up with an empty output wire by using contains first and stopping on 1st match (visually jarring) or a bit of JSONata
Are others finding they need opposites of any of the others?
I'm thinking if its just me its just a little FR but maybe a floodgate would be opened
Completely reasonable imo.
Pretty sure there is/was a thread around this already.
And yes, I've occasionally wished for these.
My thoughts were rather than make a long list even longer (which if memory serves was the reason it got no traction) would be to not add the opposites but instead, offer hem with a dropdown preceding the input
E.g.
[Has/Does not have] key
[Is / is not] between
[Does / Does not] contain
[Does / Does not] match regex
Or perhaps simpler (but less friendly) just an " invert" option alongside them.
I see a lot of suggestions that they all could do with doing but has anyone ever actually wanted one that was missing apart from me and the contains one
Jeeez man. yes Yes YES there have been times I have wanted (needed) and ACTUALLY done the whole "has key => no wire, otherwise => wire" and the contain and the regex too. (but not the between)
Yes it would get messy if you have a lot of that type of filtering/switching to do as each would then require their own switch node.
But just mentioning.