Switch - modification of a logical node

Switch - modification of a logical node
switch_v1

I suggest changing the socket type of the input parameter. This makes it faster and easier to set values for comparison.
switch_v1_mod

Scripts: LN_switch.py

The problem is that it will work only for integers and not for strings, floats, etc.

Good. The question is canceled