powered by
whole.number
whole.number(x)
TRUE
FALSE
whole.number(c(pi,2,3)) # FALSE whole.number(c(1,2,3)) # TRUE
Run the code above in your browser using DataLab