Package: effect
Module: Array
Remove duplicates from an Iterable, preserving the order of the first occurrence of each element.
The equivalence used to compare elements is provided by Equal.equivalence() from the Equal module.
Signature
declare const dedupe: <S extends Iterable<any>>(self: S) => S extends NonEmptyReadonlyArray<infer A> ? NonEmptyArray<A> : S extends Iterable<infer A> ? Array<A> : never
Since v2.0.0