is_single_odd {tester}R Documentation

Is single odd

Description

Tests if an object is a single odd number

Usage

  is_single_odd(x)

Arguments

x

an R object

See Also

is_single, is_single_even

Examples

is_single_odd(1.0)  # TRUE
is_single_odd(2)  # FALSE
is_single_odd(c(1.0,2))  # FALSE
is_single_odd(2)  # FALSE
is_single_odd(0)  # FALSE
is_single_odd(NA)  # FALSE

[Package tester version 0.2.0 Index]