View source: R/14-validation-helpers.R
| validate_numeric_range | R Documentation |
Validate numeric range
validate_numeric_range(
x,
min_val = NULL,
max_val = NULL,
param_name = "parameter",
allow_null = FALSE
)
x |
Numeric value to validate |
min_val |
Minimum allowed value |
max_val |
Maximum allowed value |
param_name |
Parameter name for error messages |
allow_null |
Allow NULL values |
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.