Description
These functions return a function that is used by the options manager internally
to check whether an option set by the user is allowed.
Usage
inlist(...)inrange(min = -Inf, max = Inf)
Arguments
...
comma-separated list of allowed values.
min
minimum value (for numeric options)
max
maximum value (for numeric options)