UnsameQ

lhs=!=rhs
yields True if the expression lhs is not identical to rhs, and yields False otherwise.

DetailsDetails

  • e1=!=e2=!=e3 gives True if no two of the ei are identical.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Test whether two expressions are not identically the same:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

!= remains symbolic unless literal values are given:

In[3]:=
Click for copyable input
Out[3]=

Full form:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)