MCPcopy Index your code
hub / github.com/code-pushup/cli / coerceArray

Function coerceArray

packages/cli/src/lib/implementation/global.utils.ts:51–53  ·  view source on GitHub ↗
(param: string)

Source from the content-addressed store, hash-verified

49}
50
51export function coerceArray(param: string): string[] {
52 return [...new Set(toArray(param).flatMap(f => f.split(',')))];
53}

Callers

nothing calls this directly

Calls 1

toArrayFunction · 0.90

Tested by

no test coverage detected