This function checks if a number is odd.
isOdd(x)
x
A numeric vector.
A logical vector indicating whether each element is odd.
# Check if numbers are odd isOdd(c(1, 2, 3, 4))