Check if number(s) is/are integers. In contrast to is.integer, is_wholenumber does not check the class but accepts all numbers that are integers with reasonable precision.
is_wholenumber(x, tol = .Machine$double.eps^0.5)Number to test
tolerance for testing