MCPcopy
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
2export const isOnline = (): boolean => {
3 return typeof navigator !== 'undefined' ? navigator.onLine : true;
4};
5
6export default isOnline;

Callers 1

useInactivityTimerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected