powered by
Determine if numbers in a vector are integers (not just of integer type)
isInt(x, inf = TRUE)
TRUE for each value in x that is an integer, FALSE otherwise
x
integer or numeric type vector
logical field answering whether an infinite value should be considered an integer (default TRUE)
isInt(c(3,3.23,Inf))
Run the code above in your browser using DataLab