View source: R/numeric_value.R
is_lt_value | R Documentation |
Check if the passed entity is a single value which is less than another specified value.
is_lt_value(value, comparator, allow_na = FALSE, allow_null = FALSE)
value |
the value to check |
comparator |
the maximum allowed value, exclusive. |
allow_na |
if true, accept a value that is NA. |
allow_null |
if true, accept a value that is NULL. |
## Not run:
# For assertion
assertthat::assert_that(qscheck::is_lt_value(value, comparator))
# For check
if (qscheck::is_lt_value(value, comparator)) {}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.