effect-io-ai

Package: effect
Module: GroupBy

GroupBy.first

Only consider the first n groups found in the Stream.

Signature

declare const first: { (n: number): <K, V, E, R>(self: GroupBy<K, V, E, R>) => GroupBy<K, V, E, R>; <K, V, E, R>(self: GroupBy<K, V, E, R>, n: number): GroupBy<K, V, E, R>; }

Source

Since v2.0.0