Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/stream/custom/index.ts>StreamBase#groupBy

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method StreamBase.prototype.groupBy
import { StreamBase } from "https://deno.land/x/rimbu@1.2.1/stream/custom/index.ts";

Parameters

valueToKey: (value: T, index: number) => K
optional
options: { collector?: Reducer<readonly [K, T], R> | undefined; } = [UNSUPPORTED]