MCPcopy Create free account
hub / github.com/emwalker/digraph / joinArray

Function joinArray

client/src/server/renderFullPage.ts:15–17  ·  view source on GitHub ↗
(fn: (a: string) => string, array: string[] | null)

Source from the content-addressed store, hash-verified

13 : '')
14
15const joinArray = (fn: (a: string) => string, array: string[] | null) => (array
16 ? array.map(fn).join('\n')
17 : '')
18
19const googleAnalytics = (gaId: string | null) => {
20 if (!gaId) return ''

Callers 1

templateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected