- mapJoin<L, K, I>(iterable, key, ...indices): IterableIterator<[...L, ...MapJoinRHS<K, I>]>
Type Parameters
L extends readonly unknown[]
K
Parameters
iterable: Iterable<L>
key: ((lhs) => undefined | K)
- (lhs): undefined | K
Returns undefined | K
Rest
...indices: I
Returns IterableIterator<[...L, ...MapJoinRHS<K, I>]>
Left joins a tuple iterable (e.g. a Map) with other Maps by key.