MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / isDevToolsEnabled

Function isDevToolsEnabled

projects/electron/src/executor.ts:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39const isDevToolsEnabled = (): boolean => {
40 if (store.get("enable-dev-tools") === true) {
41 return true
42 }
43 if (isDev) {
44 return true
45 }
46 return false
47}
48
49const isWindowVisibleOnAnyDisplay = (rect: Rectangle): boolean => {
50 const displays = screen.getAllDisplays()

Callers 1

forceEnableDevToolsFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected