Description Usage Arguments Value Author(s) See Also Examples
Tests if a numeric value is between a minimal and maximum value. Serves as convenience function.
1 | is_within_range(val, min, max)
|
val |
The value to be checked |
min |
The minimal value (inclusive) |
max |
The maximum value (inclusive) |
boolean TRUE if detects anything
Reinhard Simon
Other rule_checks: has.punct
;
has_punct
; is.oneOf
;
is.onlyLowers
; is.properName
;
is.withinRange
; is_one_of
;
is_only_lowers
;
is_proper_name
1 2 3 | is_within_range(1, 0, 2) == TRUE
is_within_range(-1, 0, 2) == FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.