MCPcopy
hub / github.com/Effect-TS/effect / dedupe

Function dedupe

packages/effect/src/Chunk.ts:1179–1179  ·  view source on GitHub ↗
(self: Chunk<A>)

Source from the content-addressed store, hash-verified

1177 * @category elements
1178 */
1179export const dedupe = <A>(self: Chunk<A>): Chunk<A> => unsafeFromArray(RA.dedupe(toReadonlyArray(self)))
1180
1181/**
1182 * Deduplicates adjacent elements that are identical.

Callers

nothing calls this directly

Calls 2

unsafeFromArrayFunction · 0.85
toReadonlyArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…