R/isOdd.R
isOdd.Rd
Whether an integer is odd (or even)
isOdd(x) isEven(x)
An integer.
Logical, whether the input number is odd or even.
isOdd and isEven returns whether an integer is odd or even, respectively.
isOdd
isEven
isOdd(3) #> [1] TRUE isEven(4) #> [1] TRUE