This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Programming / Tests  /
UnsameQ

  • lhs =!= rhs yields True if the expression lhs is not identical to rhs, and yields False otherwise.
  • See notes for SameQ.
  • =!= =!= gives True if no two of the are identical.
  • See the Mathematica book: Section 2.3.5.
  • See also: Equal, Order.

    Further Examples

    The two symbols are not the same, but the numbers are.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=