Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wavetermdev/waveterm
/ getApi
Function
getApi
frontend/util/getenv.ts:12–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
function
getApi(): ElectronApi {
13
return
(window as any).api;
14
}
15
16
/**
17
* Gets an environment variable from the host process, either directly or via IPC
if
called from the browser.
Callers
1
getEnv
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected