Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the names of options for a function, possibly filtered according to a pattern
ResourceFunction["OptionNames"][symbol] gives the names of options assigned to a symbol. | |
ResourceFunction["OptionNames"][symbol,patt] gives the names of options that match the pattern patt. |
| IgnoreCase | False | match regardless of case |
| SpellingCorrection | False | allow small differences to match |
Get the names of options to Plot, without their default values:
| In[1]:= |
| Out[1]= | ![]() |
Get the names of options related to PlotRange:
| In[2]:= |
| Out[2]= |
Find option names even if the case is different:
| In[5]:= |
| Out[5]= |
Find option names even if the spelling is incorrect:
| In[6]:= |
| Out[6]= |
Find the options shared by Plot and NIntegrate:
| In[7]:= |
| Out[7]= |
Using Options instead of OptionNames misses Exclusions because it has different default values:
| In[8]:= |
| Out[8]= |
| In[9]:= |
| Out[9]= |
Option names are returned in their original form:
| In[10]:= |
| In[11]:= |
| Out[11]= |
Spelling correction only works for literal patterns:
| In[12]:= |
| Out[12]= |
This work is licensed under a Creative Commons Attribution 4.0 International License