MatchQ
MatchQ(expr, form)
tests whether
expr
matchesform
.
Examples
>> MatchQ(123, _Integer)True
>> MatchQ(123, _Real)False
>> MatchQ(_Integer)[123]True
Implementation status
- ✅ - full supported
MatchQ(expr, form)
tests whether
expr
matchesform
.
>> MatchQ(123, _Integer)True
>> MatchQ(123, _Real)False
>> MatchQ(_Integer)[123]True