powered by
isempty(x)
TRUE
x
FALSE
isempty(c(0)) # FALSE isempty(matrix(0, 1, 0)) # TRUE
Run the code above in your browser using DataLab