Server User Guides > Survey Tabulation > Advanced expressions > Operators > Categorical comparison operators > Equal to
 
Equal to
The equal to (=) operator returns True if the two variables have the same categories irrespective of order.
Examples
Result
{1,3,6,8} = {3,1,6,8}
True
{1,3,6,8} = {3,1,6}
False
{FOSSILS, BIRDS, WHALES} = {WHALES, BIRDS, FOSSILS}
True
{FOSSILS, BIRDS, WHALES} = {BIRDS, FOSSILS}
False
See also
Categorical comparison operators