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

Function appendAll

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

Source from the content-addressed store, hash-verified

351 * @since 4.0.0
352 */
353export const appendAll = <A>(self: MutableList<A>, messages: Iterable<A>): number =>
354 appendAllUnsafe(self, Array.from(messages), true)
355
356/**
357 * 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 2

appendAllUnsafeFunction · 0.85
fromMethod · 0.80

Tested by

no test coverage detected