clear()
Table of Contents
Overview
The clear() function takes a mapVariable as an argument, and removes all key-values pairs from the map.
Syntax
Parameter | Description | Data type |
---|---|---|
<mapVariable> | The map variable whose key-value pairs will be removed. | KEY-VALUE |
Examples
mapVar.clear(); // empties the given map