Overview
Theintersection transformation finds the common elements between two arrays, returning only elements that appear in both.
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable 1 | array | Yes | First array |
variable 2 | array | Yes | Second array |
Examples
Returns an array containing only the elements that appear in both arrays.