expression ==
expression
The ==
operator evaluates to true
if the given values are equal. Otherwise, it evaluates to false
.
If both given values are integer
s or number
s, the values will be compared numerically. If both given values are date
s, the values will be compared chronologically. Otherwise, the values will be compared as strings.
String comparison with the ==
operator is case-insensitive. For case-sensitive comparison, use the csstrcmp
function or the ===
operator.
equals
, is
, is equal to
, =