MCPcopy Index your code
hub / github.com/darkreader/darkreader / formatArray

Function formatArray

src/utils/text.ts:52–54  ·  view source on GitHub ↗
(arr: readonly string[])

Source from the content-addressed store, hash-verified

50}
51
52export function formatArray(arr: readonly string[]): string {
53 return arr.concat('').join('\n');
54}
55
56export function getMatches(regex: RegExp, input: string, group = 0): string[] {
57 const matches: string[] = [];

Callers 5

formatDetectorHintsFunction · 0.90
formatDynamicThemeFixesFunction · 0.90
formatStaticThemesFunction · 0.90
formatInversionFixesFunction · 0.90
config.tests.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected