Skip to contents

Check if an option is valid

Usage

check_option_valid(opt)

Arguments

opt

An option (character) to check.

Value

Returns TRUE if the option is valid, FALSE otherwise.

Examples

check_option_valid("mirostat")
#> [1] TRUE
check_option_valid("invalid_option")
#> [1] FALSE