powered by
Check Numeric Values
assert_count(x, ...)assert_whole(x, ...)assert_positive(x, ...)assert_negative(x, ...)assert_odd(x, ...)assert_even(x, ...)
assert_whole(x, ...)
assert_positive(x, ...)
assert_negative(x, ...)
assert_odd(x, ...)
assert_even(x, ...)
Throws an error, if any, and returns x invisibly otherwise.
x
A numeric object to be checked.
numeric
Extra parameters to be passed to internal methods.
N. Frerebeau
Other validation methods: check-attribute, check-data, check-matrix, check-numeric-comparison, check-numeric-trend, check-type, needs(), validate()
check-attribute
check-data
check-matrix
check-numeric-comparison
check-numeric-trend
check-type
needs()
validate()