This function tests if given variable "appears" to be an
integer. To qualify as such, two conditions need to be
satisfied: it should be stored as
object, and it should pass regular expression test if it
consists only of digits.
a numeric variable that is to be tested
a logical value that indicates that tested variable "looks like" integer
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.