UnequalsEval
UnequalsEval[expr1, expr2]
UnequalsEval[expr1, expr2] logical operator that evaluates expressions expr1 and expr2 and returns True of False based on whether the two expressions evaluate to the same expression.
| Example | in | out |
|---|---|---|
Check whether 4 and 2 are different expressions. |
UnequalsEval[ 4, 2 ] |
True |
Check whether x+2 and x+4-2 are different expressions where x is defined as 5 in the script. |
UnequalsEval[x+2,x+4-2] |
False |