Home > rc-js-util > setSymmetricDifference
Returns those items in A not in B, and those items in B not in A.
Signature:
export declare function setSymmetricDifference<TItem>(a: ReadonlySet<TItem>, b: ReadonlySet<TItem>): TItem[];
Parameter | Type | Description |
---|---|---|
a | ReadonlySet<TItem> | |
b | ReadonlySet<TItem> |
Returns:
TItem[]