ISINTEGER Test for Integer Array
Section: Array Generation and Manipulations
Usage
The syntax forisinteger
is
x = isinteger(y)
and it returns a logical 1 if the argument is an integer.
The decision of whether the argument is an integer or not
is made based on the class of y
, not on its value.