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

Function unwrap

src/inject/dynamic-theme/index.ts:468–470  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

466}
467
468function unwrap<T>(value: T): T {
469 return (value as any)?.wrappedJSObject ?? value;
470}
471
472function handleAdoptedStyleSheets(node: ShadowRoot | Document) {
473 if (canHaveAdoptedStyleSheets(node)) {

Callers 1

handleAdoptedStyleSheetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected