Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jetify-com/devbox
/ IsInBrowser
Function
IsInBrowser
internal/envir/util.go:28–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
IsInBrowser() bool {
// TODO: a better name
29
inBrowser, _ := strconv.ParseBool(os.Getenv(
"START_WEB_TERMINAL"
))
30
return
inBrowser
31
}
32
33
func
IsCI() bool {
34
ci, err := strconv.ParseBool(os.Getenv(
"CI"
))
Callers
1
postRun
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected