Checks if a variable is an array type.
IsArray ( variable )
Parameters
variable | The variable/expression to check. |
Return Value
Success: | Returns 1. |
Failure: | Returns 0 if parameter is not an array variable. |
Remarks
Can be useful to validate array/non-array parameters to user-defined functions.
Related
IsFloat, IsInt, IsString
Example
$pos = WinGetPos("Untitled -")
If IsArray($pos) Then
MsgBox(0, "Window height", $pos[3])
EndIf