Equality (=)
The equality operator (=), returns TRUE when two values are the same, and FALSE when they are not the same value. For example consider the following expressions:
Comparing two values of different type will always be FALSE, for example:
It is important to be careful when comparing two complex values such as Objects, Lists, Dates, Times, Datetimes, and NULL. The result will only be TRUE if the two values are exactly the same rather than just similar. For example
Last updated