==~ outputs a 1 signal when the left input is equal to the right input and a 0 when it is not equal to the right input. The right input can be a signal or a float.
Sets an initial comparison value for the signal coming into the left inlet.is sent out if the signal is equal to the argument; otherwise, is sent out. If a signal is connected to the right inlet, the argument is ignored. If no argument is present, and no signal is connected to the right inlet, the initial value is by default.
Common Box Attributes
In right inlet: The signal is used for comparison with the signal coming into the left inlet.
If the signal in the left inlet is equal to the value in the right inlet,is sent out; otherwise, is sent out.