Skip to main content

Overview

The intersection transformation finds the common elements between two arrays, returning only elements that appear in both.

Syntax

intersection(<variable 1>, <variable 2>)

Parameters

ParameterTypeRequiredDescription
variable 1arrayYesFirst array
variable 2arrayYesSecond array

Examples

intersection(<variable 1>, <variable 2>)
Returns an array containing only the elements that appear in both arrays.