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

Function spreadElementsInto

packages/tools/openapi-generator/src/Utils.ts:107–111  ·  view source on GitHub ↗
(source: Array<A>, destination: Array<A>)

Source from the content-addressed store, hash-verified

105 * @since 4.0.0
106 */
107export const spreadElementsInto = <A>(source: Array<A>, destination: Array<A>): void => {
108 for (let i = 0; i < source.length; i++) {
109 destination.push(source[i])
110 }
111}

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected