IsScalar function (LotusScript® Language)
Tests an expression to determine if it evaluates to a single value.
Syntax
IsScalar ( expr )
Elements
expr
Any expression.
Return value
The IsScalar function returns TRUE (-1) if expr evaluates to one of the following:
- EMPTY
- Byte
- Integer
- Long
- Single
- Double
- Currency
- Date/Time
- String
- OLE error
- Boolean (TRUE, FALSE)
Otherwise (if expr is an array, list, object, NOTHING, or NULL), IsScalar returns FALSE (0).