The code used to gather this data is PPBW8. The table details the interactions between several values of varying datatypes when comparing them.
A green circle indicates that the comparison returns true, whereas a red value indicates that the comparison returns false. This table should be read row-wise, i.e.
Null entity != Zero Vector, but
Zero Vector == Null Entity.
The information in this image was last checked on April 16th 2021.
You might be able to abbreviate your actions by comparing between data types, especially regarding whether a variable is true or false. For example, if you want to check whether or not
A is the zero vector, you could write
A == TRUE or simply
A instead of
A != (0, 0, 0).
This resource also tells you how uninitialised variables will behave in comparisons.