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

Function appendAll

packages/effect/src/MutableList.ts:317–318  ·  view source on GitHub ↗
(self: MutableList<A>, messages: Iterable<A>)

Source from the content-addressed store, hash-verified

315 * @since 4.0.0
316 */
317export const appendAll = <A>(self: MutableList<A>, messages: Iterable<A>): number =>
318 appendAllUnsafe(self, Arr.fromIterable(messages), !Array.isArray(messages))
319
320/**
321 * Appends all elements from a ReadonlyArray to the end of the MutableList.

Callers 4

Array.tsFile · 0.85
TxChunk.tsFile · 0.85
Iterable.tsFile · 0.85
Chunk.tsFile · 0.85

Calls 1

appendAllUnsafeFunction · 0.85

Tested by

no test coverage detected