View source: R/14-validation-helpers.R
| validate_method | R Documentation |
Validate method parameter
validate_method(method, valid_methods, param_name = "method")
method |
Method to validate |
valid_methods |
Vector of valid methods |
param_name |
Parameter name for error messages |
TRUE if valid, stops with error if invalid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.