removeMapValue() Operation
Syntax |
| |
---|---|---|
Semantics | Remove the object from map | |
Substitutables |
| optional: The map entry identified by |
| An object of type Map. ![]() | |
| Key value identifying the map entry. | |
Examples |
CODE
address is an object of type Address: ![]() |
Clear an Entire Map
There is no operation to clear an entire map, but this goal can easily be achieved by two action script statements.
local entries = hashMap.getMapEntries();
apply hashMap.removeMapValue(element.key) to entries;