Operators

doesn't equal

Supported By

Syntax

expression doesn't equal expression

Description

The doesn't equal operator evaluates to false if the given values are equal. Otherwise, it evaluates to true.

If both given values are integers or numbers, the values will be compared numerically. If both given values are dates, the values will be compared chronologically. Otherwise, the values will be compared as strings.

Note

String comparison with the doesn't equal operator is case-insensitive. For case-sensitive comparison, use the csstrcmp function or the !== operator.

Synonyms

does not equal, is not, is not equal to, isn't, isn't equal to, !=, <>, , ≠≠

See Also

!==, ne, equal