js-util

Home > rc-js-util > arraySetDifference

arraySetDifference() function

returns items in A not in B.

Signature:

export declare function arraySetDifference<TItem>(a: ArrayLike<TItem>, b: ReadonlySet<TItem>): Set<TItem>;

Parameters

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

Returns:

Set<TItem>

Remarks

See arraySetDifference().