isempty {matlab} | R Documentation |
Determine if object is empty.
isempty(A)
A |
object to evaluate |
An empty object has at least one dimension of size zero.
Returns TRUE
if x
is an empty object; otherwise, FALSE
.
P. Roebuck proebuck1701@gmail.com
isempty(1:3) # FALSE
isempty(array(NA, c(2, 0, 2))) # TRUE