check that characters of a string are digits between 0 and 9
res = isdigit(str)
a character string.
a boolean matrix.
res = isdigit(str)
returns an array the same size as
str
containing logical %t
(TRUE) where the elements of str
are digits and
logical %f
(FALSE) where they are not.