( combiner: Combiner.Combiner<A> )
| 1474 | * @since 4.0.0 |
| 1475 | */ |
| 1476 | export function makeReducerIntersection<K extends string, A>( |
| 1477 | combiner: Combiner.Combiner<A> |
| 1478 | ): Reducer.Reducer<Record<K, A>> { |
| 1479 | return Reducer.make( |
| 1480 | (self, that) => intersection(self, that, combiner.combine) as any, |
| 1481 | {} as Record<K, A> |
| 1482 | ) |
| 1483 | } |
| 1484 | |
| 1485 | /** |
| 1486 | * Returns the first entry that satisfies the specified |
nothing calls this directly
no test coverage detected