Function Reference
— Built-in Function: all (x, dim)

The function all behaves like the function any, except that it returns true only if all the elements of a vector, or all the elements along dimension dim of a matrix, are nonzero.