is_single_even {tester}R Documentation

Is single even

Description

Tests if an object is a single even number

Usage

  is_single_even(x)

Arguments

x

an R object

See Also

is_single, is_single_odd

Examples

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

[Package tester version 0.2.0 Index]