Choose your operating system:
Windows
macOS
Linux
The Add node adds an item to a Set, thereby increasing the length of the Set. When adding an item to a Set, the node checks whether the added item is equal to an existing item in the Set. If the new item is equal to an item that's already in the Set, the new item won't be added.
Inputs
Pin Location |
Name |
Description |
---|---|---|
|
(In) Exec |
Input execution pin. |
|
Target Set |
The Set that you want to add a new item to. |
|
New Item |
The item that you want to add to the Set. The new item needs to be unique from existing items that are contained in the Set. |
Outputs
Pin Location |
Name |
Description |
---|---|---|
|
(Out) Exec |
Output execution pin. |
|
Boolean Return Value |
If an equivalent item was present, the node returns false. Otherwise, if the new item was successfully added to the Set, this node returns true. |
Example Usage