# Set Union

Calculates the union of two sets. Set Union lives in the **Arithmetic** category of the `fx` menu.

## Parameters

| Parameter        | Type   | Required | Default | Description                                            |
| ---------------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input            | string | yes      | —       | Value to transform. Previous step output or a literal. |
| Sample delimiter | string | no       | `\n\n`  | Argument value for this operation.                     |
| Item delimiter   | string | no       | `,`     | Argument value for this operation.                     |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                             |
| -------- | --------------------------------------- |
| `string` | Result of the Set Union transformation. |

## Example

<details>
<summary>Run Set Union</summary>

Calculates the union of two sets. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Sample delimiter**, **Item delimiter** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
