MCPcopy Create free account
hub / github.com/effect-app/libs / fromArrayUnsafe

Function fromArrayUnsafe

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

Source from the content-addressed store, hash-verified

569 * **When to use**
570 *
571 * Use when the input array is already known to be non-empty, can be shared with
572 * the resulting `Chunk`, and avoiding a copy matters.
573 *
574 * **Gotchas**
575 *

Callers 10

fromIterableFunction · 0.85
reverseChunkFunction · 0.85
fromNonEmptyArrayUnsafeFunction · 0.85
Chunk.tsFile · 0.85
compactFunction · 0.85
separateFunction · 0.85
dedupeFunction · 0.85
dedupeAdjacentFunction · 0.85
unzipFunction · 0.85
differenceWithFunction · 0.85

Calls 3

makeChunkFunction · 0.85
emptyFunction · 0.70
ofFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…