if Comparison Operators Not equal - NOT identical

The != Not equal Operator

Compare two variables and write a message if they don't have the same value.

100 is not equal to 50

The <> Not equal Operator

Compare two variables and write a message if they don't have the same value.

100 is not equal to 50

The !== NOT identical Operator

Compare two variables and write a message if they are NOT identical.

The not identical operator (!==) checks the value and the data type, unlike the not equal operator (!=) that checks only the value.

100 is not identical to 50