# ~! operator

Source: https://ref.dm-lang.org/operator/tildeexclaim
Added in BYOND 512.

### Format
> `A ~! B`

### Returns
> 1 if A and B are not equivalent; 0 otherwise

Equivalence is a looser version of equality. See the [\~= operator](https://ref.dm-lang.org/operator/tildeequals.md) for more information.

To check if A and B are not equal, use the != operator.

### See also
- [\~= operator](https://ref.dm-lang.org/operator/tildeequals.md)
- [== operator](https://ref.dm-lang.org/operator/equalsequals.md)
- [!= operator](https://ref.dm-lang.org/operator/exclaimequals.md)
- [operators](https://ref.dm-lang.org/operator/index.md)
