R: Option checkers

inlist {settings} | R Documentation

## Option checkers

### 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)

### See Also

`options_manager` for examples.

[Package settings version 0.2.4 Index]