Check that all values are wholenumbers, see example in integer base
is_wholenumber(x, tol = .Machine$double.eps^0.5)
x
Value to check
tol
Tolerance of the check
logical vector