Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine if a value should be interpreted as True
ResourceFunction["InterpretedTrueQ"][assoc,key] checks whether the value of key in assoc is interpreted as True. |
Check a string value:
In[1]:= |
Out[1]= |
Check several values:
In[2]:= |
Out[2]= |
Check a value from an Association:
In[3]:= |
Out[3]= |
Use InterpretedTrueQ along with HTTPRequestData within a deployed APIFunction:
In[4]:= |
Out[4]= |
This works like a “Boolean” Interpreter when the parameter is given in the specified part of the request:
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
Check a value in an http header:
In[8]:= |
Out[8]= |
In[9]:= |
Out[9]= |
In[10]:= |
Out[10]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License