DADiSP Worksheet Functions > Function Categories > Query Functions > ISEMPTY

 

ISEMPTY

Purpose:

Returns 1 if the input series is empty.

Syntax:

ISEMPTY(series)

series

-

Optional. A series to test, defaults to the current Window.

Returns:

An integer, 1 if the input series is empty (i.e. length == 0), else 0.

Example:

a = {1};

b = {};

c = a * b;

 

isempty(a) == 0

isempty(b) == 1

isempty(c) == 1

Remarks:

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.

See Also:

FINITE

INF

ISEQUAL

ISINF

ISNAN

ISWINEMPTY

NAN