isNothing

Syntax

isNothing(X)

Arguments

X is a scalar/vector.

Details

“Nothing” is one of the two objects in VOID type.

isNothing tests if a function argument is provided by the user.

Examples

$ f=def(x,y): isNothing(y);
$ f(5,);
1

$ f(5, NULL);
0