whole.number checks an array whether it consists of whole numbers only (x in I).
A numerical array.
adapted by Christian W. Hoffmann <firstname.lastname@example.org>
whole.number(c(pi,2,3)) # FALSE
whole.number(c(1,2,3)) # TRUE
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.