Map delete
Maps
Generic
Map delete
Map
Map
Key
Description
Removes an entry by key from a map in place and returns the updated map. Has execution pins (not pure).
When to use
Use Map delete to remove an entry from a map by key — for example, evicting a cached value or cleaning up a lookup table after processing an item. The node mutates the map in place and outputs the updated reference. Removing a key that does not exist is a safe no-op.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Map | generic{generic} | — | The map to remove from. Key and value types resolve at design-time from the connected source. |
| Key | generic | — | The key of the entry to remove. Must match the map's key type. Removing a non-existent key is a no-op. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Map | generic{generic} | The same map after the entry has been removed. |
Execution pins
| Pin | Direction |
|---|---|
| In | Input |
| Out | Output |
Example
After processing an item from a pending-work map, wire the item’s ID into the Key input and the map local variable into the Map input. The output Map, wired back into a local variable set, no longer contains that entry.