Package: effect
Module: Iterable
Group equal, consecutive elements of an Iterable into NonEmptyArrays using the provided isEquivalent function.
Signature
declare const groupWith: { <A>(isEquivalent: (self: A, that: A) => boolean): (self: Iterable<A>) => Iterable<NonEmptyArray<A>>; <A>(self: Iterable<A>, isEquivalent: (self: A, that: A) => boolean): Iterable<NonEmptyArray<A>>; }
Since v2.0.0