LOTUSSCRIPT LANGUAGE


IsScalar function
Example

Tests an expression to determine if it evaluates to a single value.

Syntax

IsScalar ( expr )

Elements

expr


Return value

The IsScalar function returns TRUE (-1) if expr evaluates to one of the following:


Otherwise (if expr is an array, list, object, NOTHING, or NULL), IsScalar returns FALSE (0).

Example
See Also