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

Function dedupeAdjacent

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

Source from the content-addressed store, hash-verified

2217 * @since 2.0.0
2218 */
2219export const dedupeAdjacent = <A>(self: Chunk<A>): Chunk<A> => fromArrayUnsafe(RA.dedupeAdjacent(self))
2220
2221/**
2222 * Takes a `Chunk` of pairs and returns two corresponding `Chunk`s.

Callers 2

Iterable.test.tsFile · 0.85
Array.test.tsFile · 0.85

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected