Arguments

destination
string
required

The key to write the intersection to.

keys
integer
required

How many keys to compare.

keys
string | string[]
required

The keys to compare.

options
aggregate
sum | min | max

The aggregation method.

weight
number

The weight to apply to each key.

weights
number[]

The weights to apply to each key.

Response

The number of elements in the resulting set.