MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / detectSolidDevtools

Function detectSolidDevtools

packages/shared/src/detect.ts:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83export const SOLID_DEVTOOLS_GLOBAL = 'SolidDevtools$$'
84
85export function detectSolidDevtools(): boolean {
86 return !!(window as any)[SOLID_DEVTOOLS_GLOBAL]
87}
88
89export function onSolidDevtoolsDetect(callback: () => void): void {
90 if (detectSolidDevtools()) {

Callers 1

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