MCPcopy Create free account
hub / github.com/darkreader/darkreader / areArraysEqual

Function areArraysEqual

src/inject/dynamic-theme/stylesheet-proxy.ts:272–274  ·  view source on GitHub ↗
(a: any[], b: any[])

Source from the content-addressed store, hash-verified

270 };
271
272 const areArraysEqual = (a: any[], b: any[]) => {
273 return a.length === b.length && a.every((x, i) => x === b[i]);
274 };
275
276 const onAdoptedSheetsChange = (node: Document | ShadowRoot) => {
277 const prev = adoptedSheetsSnapshots.get(node);

Callers 1

onAdoptedSheetsChangeFunction · 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…