Skip to main content
Returns the members of the set resulting from the difference between the first set and all the successive sets. Keys that do not exist are considered to be empty sets.

Usage

Parameters

key
string
required
The first set key (the set to subtract from)
keys
string[]
Additional set keys to subtract from the first set

Response

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

Examples

Difference between two sets

Difference with multiple sets

Find unique skills

Difference with non-existing set

Order matters