Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.