Is single positive number

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.