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

Function prependAll

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

Source from the content-addressed store, hash-verified

279 * @since 4.0.0
280 */
281export const prependAll = <A>(self: MutableList<A>, messages: Iterable<A>): void =>
282 prependAllUnsafe(self, Array.from(messages), true)
283
284/**
285 * Prepends all elements from a ReadonlyArray to the beginning of the MutableList.

Callers 1

Iterable.tsFile · 0.85

Calls 2

prependAllUnsafeFunction · 0.85
fromMethod · 0.80

Tested by

no test coverage detected