## Syntax

`INTERSECTION(array1, array2)`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"array1":\[<br>4<br>1,<br>5<br>2,<br>6<br>3,<br>7<br>\],<br>8<br>"array2":\[<br>9<br>1,<br>10<br>2,<br>11<br>\]<br>12<br>}<br>13<br>}<br>Copy |
| Formula | `INTERSECTION(my_action.array1, my_action.array2)` |
| Output | 1<br>\[<br>2<br>1,<br>3<br>2,<br>4<br>\]<br>Copy |

## Sample Actions

Event Transform

My Action

Event Transform

INTERSECTION

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.
