PatternTest
pat?test
matches when the expression matches pat
and test[MATCH]
evaluates to True
.
Attributes[PatternTest] := {HoldRest, Protected}
pat?test
matches when the expression matches pat
and test[MATCH]
evaluates to True
.
Attributes[PatternTest] := {HoldRest, Protected}