Learn R Programming

tester (version 0.2.0)

is_negative_integer: Is negative integer

Description

Test if is a positive integer

Usage

is_negative_integer(x)

Arguments

x

an R object

Examples

Run this code
is_negative_integer(-1) # TRUE
is_negative_integer(1) # FALSE
is_negative_integer(0) # FALSE
is_negative_integer(pi) # FALSE
is_negative_integer(2.2) # FALSE

Run the code above in your browser using DataLab