js-util

Home > rc-js-util > setSetDifference

setSetDifference() function

returns items in A not in B.

Signature:

export declare function setSetDifference<TItem>(a: ReadonlySet<TItem>, b: ReadonlySet<TItem>): TItem[];

Parameters

Parameter Type Description
a ReadonlySet<TItem>  
b ReadonlySet<TItem>  

Returns:

TItem[]

Remarks

See setSetDifference().