ISARRAY

Purpose:

Returns 1 if input parameter is an array.

Syntax:

ISARRAY(val)

val

-

A series, scalar or string value to test.

Returns:

The scalar 1 if the input is an array, else 0.

Example:

isarray(3i)

 

returns 0

Example:

isarray({3i})

 

returns 1

 

Example:

isarray("string")

 

returns 0

Example:

isarray(mag(fft({1, 2, 3, 4})))

 

returns 1

Remarks:

If the input is non-numeric, isarray returns 0.

See Also:

ISCOMPLEX

ISNUMERIC

ISREAL

ISSCALAR

ISSTRING

ISXY

ISXYZ