isValid
Syntax
isValid(X)
Arguments
X is a scalar/vector/matrix.
Details
Determine if each element of X is NULL. Return 1 if at least one element is not NULL and 0 otherwise.
Examples
isValid(00i);
// output
0
isValid(1 NULL NULL 6 NULL 7);
// output
[1,0,0,1,0,1]
isValid(1/0);
// output
0