Skip to contents

Return TRUE if the value is odd.

Usage

is_odd(x)

Arguments

x

A numeric vector

Value

A boolean vector with the return from the condition check.

Examples


is_odd(4)
#> [1] FALSE

is_odd(3)
#> [1] TRUE