R/math.R
isOdd.Rd
This function checks if a number is odd.
isOdd(x)
A numeric vector.
A logical vector indicating whether each element is odd.
# Check if numbers are odd isOdd(c(1, 2, 3, 4)) #> [1] TRUE FALSE TRUE FALSE