Click or drag to resize

IsArray Function

Determine if a value is an array.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION IsArray(
	uValue AS USUAL
) AS LOGIC
View Source

Parameters

uValue
Type: Usual
The value to examine.

Return Value

Type: Boolean
TRUE if the value is an array; otherwise, FALSE.
Remarks
Examples
This example uses IsArray() to determine a course of action:
X#
DO CASE
        CASE IsArray(uValue)
                AEval(uValue, cbBlock)
        CASE IsString(uValue)
                SEval(uValue, cbBlock)
        OTHERWISE
                Eval(cbBlock)
ENDCASE
See Also