is_single_positive {tester} | R Documentation |
Is single positive number
Description
Tests if an object is a single positive number
Usage
is_single_positive(x)
Arguments
x |
an R object |
See Also
Examples
is_single_positive(1.0) # TRUE
is_single_positive(c(1.0,2)) # FALSE
is_single_positive(-1.0) # FALSE
is_single_positive(0) # FALSE
is_single_positive(NA) # FALSE
[Package tester version 0.2.0 Index]