std/collections/group_by.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.139.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.