MCPcopy Create free account
hub / github.com/Effect-TS/effect / dedupe

Function dedupe

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

Source from the content-addressed store, hash-verified

2196 * @since 2.0.0
2197 */
2198export const dedupe = <A>(self: Chunk<A>): Chunk<A> => fromArrayUnsafe(RA.dedupe(toReadonlyArray(self)))
2199
2200/**
2201 * Deduplicates adjacent elements that are identical.

Callers

nothing calls this directly

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected