Choose your operating system:
Windows
macOS
Linux
The Remove node removes a key-value pair from a Map, thereby decreasing the length of the Map. When removing a key-value pair from a Map, the node checks whether the key is in the Map. If the key isn't in the Map, the key-value pair won't be removed.
Inputs
Pin Location |
Name |
Description |
---|---|---|
|
(In) Exec |
Input execution pin. |
|
Target Map |
The Map that you want to remove the key-value pair from. |
|
Key |
The key being used to lookup a value in the Map. Before a key-value pair can be removed, the key must be contained in the Map. |
Outputs
Pin Location |
Name |
Description |
---|---|---|
|
(Out) Exec |
Output execution pin. |
|
Boolean Return Value |
If the key-value pair was removed, the node returns true. Otherwise, if there are no values in the Map using the provided key, the node returns false. |
Example Usage