Check whether a parameter value is from a valid set
check_is_param(
value,
allowed,
allownull = FALSE,
allowmultiple = FALSE,
stopit = TRUE,
msg = NULL
)
logical whether method is valid.
A character value.
Allowed values.
Whether to allow NULL values.
Whether to allow multiple values.
Whether to stop execution if the value is invalid.
A custom error message if the check fails.