Skip to main content
Returns the members of the set resulting from the intersection of all the given sets. Keys that do not exist are considered to be empty sets.

Usage

Parameters

key
string
required
The first set key
keys
string[]
Additional set keys to intersect with

Response

result
TData[]
An array containing the members of the resulting set (intersection of all sets)

Examples

Intersect two sets

Intersect multiple sets

Find common friends

Empty intersection