Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Use Check and Quiet, conveniently combined into one function
ResourceFunction["QuietCheck"][expr,failexpr] is equivalent to Check[expr,failexpr] but does not print any messages. | |
ResourceFunction["QuietCheck"][expr,failexpr,{s1::t1,s2::t2,…}] only checks against and quiets the given list of messages. |
Return $Failed when messages are encountered but do not show them:
In[1]:= |
Out[1]= |
Only check for specific messages:
In[2]:= |
Out[2]= |
Messages not included in the third argument to QuietCheck are still displayed:
In[3]:= |
Out[3]= |
This work is licensed under a Creative Commons Attribution 4.0 International License