R/model_options.R
check_option_valid.Rd
Check if an option is valid
check_option_valid(opt)
An option (character) to check.
Returns TRUE if the option is valid, FALSE otherwise.
check_option_valid("mirostat") #> [1] TRUE check_option_valid("invalid_option") #> [1] FALSE