is_positive_integer {tester} | R Documentation |
Is positive integer
Description
Test if is a positive integer
Usage
is_positive_integer(x)
Arguments
x |
an R object |
Examples
is_positive_integer(1) # TRUE
is_positive_integer(0) # FALSE
is_positive_integer(pi) # FALSE
is_positive_integer(2.2) # FALSE
is_positive_integer(-1) # FALSE
[Package tester version 0.2.0 Index]