MCPcopy Index your code
hub / github.com/angular/angular / merge

Function merge

packages/core/src/sanitization/html_sanitizer.ts:24–32  ·  view source on GitHub ↗
(...sets: BooleanRecord[])

Source from the content-addressed store, hash-verified

22}
23
24function merge(...sets: BooleanRecord[]): BooleanRecord {
25 const res: BooleanRecord = {};
26 for (const s of sets) {
27 for (const v in s) {
28 if (s.hasOwnProperty(v)) res[v] = true;
29 }
30 }
31 return res;
32}
33
34// Good source of info about elements and attributes
35// https://html.spec.whatwg.org/#semantics

Callers 10

html_sanitizer.tsFile · 0.85
rxjs.merge.spec.tsFile · 0.85
connectMethod · 0.85
connectMethod · 0.85
connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…