DADiSP Worksheet Functions > Function Categories > Query Functions > ISEMPTY
Returns 1 if the input series is empty.
ISEMPTY(series)
series |
- |
Optional. A series to test, defaults to the current Window. |
An integer, 1 if the input series is empty (i.e. length == 0), else 0.
a = {1};
b = {};
c = a * b;
isempty(a) == 0
isempty(b) == 1
isempty(c) == 1
An empty series has a length of 0.
The syntax a = {} creates an empty series.
ISEMPTY returns 1 if the input is not a series.
See ISWINEMPTY to determine if a Window contains a series.