Warning: This feature is experimental. It may not work, may contain bugs or may be changed or removed without notice.

DO NOT REPORT BUGS OR REQUEST NEW FEATURES FOR THIS FEATURE.

Function Reference


IsMap

Checks if a variable is a Map type.

IsMap ( variable )

Parameters

variable The variable/expression to check.

Return Value

Success: 1.
Failure: 0 if parameter is not a Map variable.

Remarks

Can be useful to validate map/non-map parameters to user-defined functions.

See language datatypes for a detailed description.

Related

IsArray, IsBinary, IsBool, IsFloat, IsHWnd, IsInt, IsNumber, IsPtr, IsString, MapExists, VarGetType

Example

#include <MsgBoxConstants.au3>

Local $mMap[] ; Declare a map.
If IsMap($mMap) Then
        MsgBox($MB_SYSTEMMODAL, "", "The variable is a map")
Else
        MsgBox($MB_SYSTEMMODAL, "", "The variable is not a map")
EndIf