R/validation_functions.R
validate_option.Rd
Validates that an option parameter is one of the allowed values.
validate_option(option, ..., .fun_name = NULL)
option to check
valid options
A string containing the name of the calling to use as a prefix in the warning. Default is NULL
TRUE if passes checks, FALSE otherwise. Generates warnings.