Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Commit cb34f60

Browse files
committed
Deprecated groupMapBy
1 parent 8f21f06 commit cb34f60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/array/groupMapBy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import type { ArrayIterator } from "./lib/ArrayIterator.js";
1515
* @example
1616
* groupMapBy([1, 2, 3, 4, 5], val => val % 2)
1717
* // => Map{0: [2, 4], 1: [1, 3, 5]}
18+
* @deprecated Use the native Map.groupBy() instead
1819
*/
1920
export const groupMapBy = <TValue, UKey>(
2021
array: readonly TValue[],

0 commit comments

Comments
 (0)