tolerance: Numeric >=0. Absolute differences greater than tolerance are treated as real differences.
Details
The object x is first tested to see if it is numeric. If not the function returns 'FALSE'. Then if all the elements of x are whole numbers to within the tolerance given by tolerance the function returns 'TRUE'. If not it returns 'FALSE'.
Returns
Either 'TRUE' or 'FALSE' depending on the result of the test.