MCPcopy Create free account
hub / github.com/GCWing/BitFun / isRootEmpty

Function isRootEmpty

src/web-ui/src/main.tsx:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74function isRootEmpty(): boolean {
75 const root = document.getElementById('root');
76 if (!root) {
77 return true;
78 }
79 return root.childElementCount === 0;
80}
81
82function registerGlobalErrorHandlers() {
83 const flag = '__bitfun_global_error_handlers_registered__';

Callers 1

scheduleCrashLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected