> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/lists/combine-generic-lists.md).

# Combine Generic Lists

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-49bde136bc699dd567734425d36164ae3a6be372%2Fcombine-generic-lists.png?alt=media)

## Description

Combines Any Lists, optionally allowing for duplicate entries from Any List B to remain in the new list.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input            | Type       | Required | Description                                                      |
| ---------------- | ---------- | -------- | ---------------------------------------------------------------- |
| Any List         | List       | Yes      | Which list to add item to.                                       |
| Any              | (anything) | Yes      | The thing being added to the list.                               |
| Allow Duplicates | Boolean    | Yes      | Whether or not more than one of the thing can exist in the list. |

## Outputs

| Output       | Type         | Description                                      |
| ------------ | ------------ | ------------------------------------------------ |
| Generic List | Generic List | The new list after adding the thing to the list. |

\
\
**Contributors**

AddiCt3d 2CHa0s
