SameQ
SameQ(x, y)
x===yreturns
Trueifxandyare structurally identical.
See
Examples
Any object is the same as itself:
>> a===aTrueUnlike Equal, SameQ only yields True if x and y have the same type:
>> {1==1., 1===1.}{True,False}Related terms
Implementation status
- ✅ - full supported