IsArray

From AutoIt Wiki

Jump to: navigation, search

Checks if a variable is an array type. Adapted from AutoIt docs.

Contents

Syntax

$chk = IsArray(var)

Parameters

varThe variable/expression to check.

Return Value

Success: Returns 1.
Failure: Returns 0 if parameter is not an array variable.

Example

$pos = WinGetPos("Untitled -")
If IsArray($pos) Then
    MsgBox(0, "Window height", $pos[3])
EndIf

Related Functions

IsFloat IsInt IsString IsNumber IsBool IsHWnd

Personal tools