What is a "reverse" to MatchQ? MatchQ converts pattern into boolean function. So how to convert back?
Suppose I want to use boolean function in Switch.
|
What is a "reverse" to Suppose I want to use boolean function in |
|||
|
To convert a Boolean test function such as Here is a simple and brief example of each:
Be aware that the
|
||||
|
|
_?IntegerQorx_ /; IntegerQ[x]"? I closed this because I felt that the use of those functions was already better covered in linked question and I didn't want to repeat it here. – Mr.Wizard♦ Jan 19 at 15:50