whole.number checks an array whether it consists of whole numbers only (x in I).
whole.number
whole.number(x)
x
TRUE, FALSE
TRUE
FALSE
Bill Venables