Check if a vector is an integer
is_integer(x, tol = .Machine$double.eps^0.5)
x
TRUE of FALSE.
Useful links