Difference between == and === in Mathematica

后端 未结 5 1170
太阳男子
太阳男子 2020-12-31 11:10

I was under the impression that = is an assignment, == is a numeric comparison, and === is a symbolic comparison (as well as in some o

5条回答
  •  北海茫月
    2020-12-31 12:11

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

    and

    lhs==rhs returns True if lhs and rhs are identical.

    Reference from here and here.

提交回复
热议问题