Skip to main content
Skip table of contents

removeMapValue() Operation

Syntax
NONE
set deletedObject = aMap.removeMapValue(aKey)
SemanticsRemove the object from map aMap that is identified by akey.
SubstitutablesdeletedObjectoptional: The map entry identified by aKey that is deleted. 
aMap

An object of type Map.

aKeyKey value identifying the map entry.
Examples
NONE
hashMap.removeMapValue("John Smith");
address is an object of type Address.

Example File (Builder project E2E Action Language/Map):

<your example path>\E2E Action Language\map\uml\mapBenchmark.xml

There is no operation to clear an entire map, but this goal can easily be achieved by two action script statements.

NONE
local entries = hashMap.getMapEntries();
apply hashMap.removeMapValue(element.key) to entries;

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.