is_single_positive: Is single positive number

Description Usage Arguments See Also Examples

Description

Tests if an object is a single positive number

Usage

1

Arguments

x

an R object

See Also

is_single, is_single_negative

Examples

1
2
3
4
5
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


Search within the tester package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.