(key: (item: T) => K)
| 46 | * Provides a function that can be used to map arrays to string maps |
| 47 | */ |
| 48 | export function arrayToMapFn<K, T>(key: (item: T) => K): (arr: T[]) => Map<K, T> { |
| 49 | return (arr: T[]) => arrayToMap(arr, key); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Computes the union of two Maps and returns the result as a new Map |
nothing calls this directly
no test coverage detected