is_single_negative {tester}R Documentation

Is single negative number

Description

Tests if an object is a single negative number

Usage

  is_single_negative(x)

Arguments

x

an R object

See Also

is_single, is_single_positive

Examples

is_single_negative(1.0)  # FALSE
is_single_negative(-1.0)  # TRUE
is_single_negative(c(-1.0,-2))  # FALSE
is_single_negative(0)  # FALSE
is_single_negative(NA)  # FALSE

[Package tester version 0.2.0 Index]