Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gitify-app/gitify
/ isOnline
Function
isOnline
src/renderer/utils/system/network.ts:2–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
// Simple utility to centralize online status checks
2
export
const
isOnline = (): boolean => {
3
return
typeof navigator !==
'undefined'
? navigator.onLine : true;
4
};
5
6
export
default isOnline;
Callers
1
useInactivityTimer
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected