MCPcopy Create free account
hub / github.com/arctic-cli/interface / mergeArrayField

Function mergeArrayField

packages/arctic/src/cli/opencode-config-import.ts:222–224  ·  view source on GitHub ↗
(arctArr: any[], openArr: any[])

Source from the content-addressed store, hash-verified

220}
221
222function mergeArrayField(arctArr: any[], openArr: any[]): any[] {
223 return [...new Set([...arctArr, ...openArr])]
224}
225
226function mergeObjectField(arctObj: Record<string, any>, openObj: Record<string, any>): Record<string, any> {
227 return { ...arctObj, ...openObj }

Callers 1

mergeConfigFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected