isValid

Syntax

isValid(X)

Arguments

X is a scalar/vector/matrix.

Details

Determine if each element of X is NULL. Return true if at least one element is not NULL and false otherwise.

Examples

isValid(00i);
// output
false

isValid(1 NULL NULL 6 NULL 7);
// output
[true,false,false,true,false,true]

isValid(1/0);
// output
false