# != operator

Source: https://ref.dm-lang.org/operator/exclaimequals

### Format
> `A != B`

### Returns
> 1 if A is not equal to B; 0 otherwise

This is identical to the \<\> operator.

To check if A and B are not equivalent, use the \~! operator.

### See also
- [\> operator](https://ref.dm-lang.org/operator/greater.md)
- [\< operator](https://ref.dm-lang.org/operator/less.md)
- [\<\> operator](https://ref.dm-lang.org/operator/lessgreater.md)
- [== operator](https://ref.dm-lang.org/operator/equalsequals.md)
- [\~= operator](https://ref.dm-lang.org/operator/tildeequals.md)
- [\~! operator](https://ref.dm-lang.org/operator/tildeexclaim.md)
- [operators](https://ref.dm-lang.org/operator/index.md)
