SameQ
SameQ(x, y)
x===y
returns
True
ifx
andy
are structurally identical.
See
Examples
Any object is the same as itself:
>> a===aTrue
Unlike 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