clear map(name of map a)


Clears the Named Map with name a. If no name is specified, default will be used.

The result of the function is the number of elements that have been deleted.

Description of Parameters

Parameter

Description

a

(optional) Name of map. Default: default

Examples

Defined are the maps default with 10 elements and my_map with 15 elements.

Parameter a

Result

my_other_map

0

10

0

my_map

15

my_map

0