IsArray Function | |
Determine if a value is an array.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION IsArray(
uValue AS USUAL
) AS LOGIC
public static bool IsArray(
Usual uValue
)
Request Example
View SourceParameters
- uValue
- Type: Usual
The value to examine.
Return Value
Type:
Logic
TRUE if the value is an array; otherwise, FALSE.
Remarks Examples
This example uses IsArray() to determine a course of action:
1DO CASE
2 CASE IsArray(uValue)
3 AEval(uValue, cbBlock)
4 CASE IsString(uValue)
5 SEval(uValue, cbBlock)
6 OTHERWISE
7 Eval(cbBlock)
8ENDCASE
See Also