MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / mergeStringLists

Function mergeStringLists

src/sanitize.ts:16–20  ·  view source on GitHub ↗
(
  ...lists: (string[] | undefined)[]
)

Source from the content-addressed store, hash-verified

14let globalConfig: Config = DEFAULT_CONFIG;
15
16function mergeStringLists(
17 ...lists: (string[] | undefined)[]
18): string[] {
19 return [...new Set(lists.flatMap((list) => list ?? []))];
20}
21
22/**
23 * Configure default sanitization for all StreamHtml renders.

Callers 1

configureSanitizerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected