Home > rc-js-util > mapIntersect
Does not check value equality, only key. Takes items from A.
See mapIntersect().
Signature:
export declare function mapIntersect<TKey, TIem>(a: ReadonlyMap<TKey, TIem>, b: ReadonlyMap<TKey, TIem>): Map<TKey, TIem>;
Parameter | Type | Description |
---|---|---|
a | ReadonlyMap<TKey, TIem> | |
b | ReadonlyMap<TKey, TIem> |
Returns:
Map<TKey, TIem>