UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

70 lines (33 loc) 973 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [mapSymmetricDifference](./rc-js-util.mapsymmetricdifference.md) ## mapSymmetricDifference() function Returns a map with keys in A not in B, and keys in B not in A. **Signature:** ```typescript export declare function mapSymmetricDifference<TKey, TIem>(a: ReadonlyMap<TKey, TIem>, b: ReadonlyMap<TKey, TIem>): Map<TKey, TIem>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> a </td><td> ReadonlyMap&lt;TKey, TIem&gt; </td><td> </td></tr> <tr><td> b </td><td> ReadonlyMap&lt;TKey, TIem&gt; </td><td> </td></tr> </tbody></table> **Returns:** Map&lt;TKey, TIem&gt; ## Remarks See [mapSymmetricDifference()](./rc-js-util.mapsymmetricdifference.md)<!-- -->.