ISNUMERIC

Purpose:

Returns 1 if input parameter is a scalar or series.

Syntax:

ISNUMERIC(val)

val

-

A series, scalar or string value to test.

Returns:

1 if the input is a scalar or series, else 0.

Example:

a = {1};

b = {};

c = "yes";

d = 3i;

 

isnumeric(a) == 1

isnumeric(b) == 1

isnumeric(c) == 0

isnumeric(b) == 1

Remarks:

If the input is a scalar or a series, isnumeric returns 1, else 0.

See Also:

ISARRAY

ISCOMPLEX

ISREAL

ISSCALAR

ISSTRING