Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find and list all symbols with a particular attribute
ResourceFunction["SymbolsWithAttribute"][attr] gives a list of the names of symbols that have the given attribute. | |
ResourceFunction["SymbolsWithAttribute"][attr,patt] gives a list of names matching the string pattern patt. |
List the names of all available symbols that have the HoldFirst attribute:
In[1]:= |
Out[1]= |
List just those symbol names that match the given string pattern:
In[2]:= |
Out[2]= |
List those HoldAll symbols whose name contains "abort" with any capitalization:
In[3]:= |
Out[3]= |
List those Protected symbols whose name is similar to "Solve":
In[4]:= |
Out[4]= |
Attributes returns all the attributes of a given symbol name:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
List all the attributes for each symbol name in the result:
In[8]:= |
Out[8]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License