powered by
checks if a variable is integer
check.integer(x)
any variable
TRUE if "x" is integer, FALSE if "x" not is interger
# NOT RUN { x = 5 check.integer(x) # }
Run the code above in your browser using DataLab