Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/group_by.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.148.0/collections/group_by.ts";

Functions

Applies the given selector to each element in the given array, returning a Record containing the results as keys and all values that produced that key as values.