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

Function fromIterable

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

Source from the content-addressed store, hash-verified

351 isChunk(self) ? self : fromArrayUnsafe(RA.fromIterable(self))
352
353const copyToArray = <A>(self: Chunk<A>, array: Array<any>, initial: number): void => {
354 switch (self.backing._tag) {
355 case "IArray": {
356 copy(self.backing.array, 0, array, initial, self.length)
357 break

Callers 1

Chunk.tsFile · 0.70

Calls 2

isChunkFunction · 0.85
fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…