js-util

Home > rc-js-util > mapSymmetricDifference

mapSymmetricDifference() function

Returns a map with keys in A not in B, and keys in B not in A.

Signature:

export declare function mapSymmetricDifference<TKey, TIem>(a: ReadonlyMap<TKey, TIem>, b: ReadonlyMap<TKey, TIem>): Map<TKey, TIem>;

Parameters

Parameter Type Description
a ReadonlyMap<TKey, TIem>  
b ReadonlyMap<TKey, TIem>  

Returns:

Map<TKey, TIem>

Remarks

See mapSymmetricDifference().