_MapIsEmpty

Tests if key map is empty

Lists.au3
_MapIsEmpty( $aMap )

parameters

$aMap Key map array as handle

return value

boolean value True = Empty, False = Key map contains elements

@error

1 Not a key map
2 Key map is empty, no values

related

_MapCreate, _MapIsMap, _MapToArray, _ArrayToMap

example

If Not _MapIsEmpty( $aMyMap ) Then $Value = _MapGetValue( $aMyMap, 0 ) ; get first value