powered by
This function checks if a number is odd.
isOdd(x)
A logical vector indicating whether each element is odd.
A numeric vector.
# Check if numbers are odd isOdd(c(1, 2, 3, 4))
Run the code above in your browser using DataLab