MCPcopy 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
28func IsInBrowser() bool { // TODO: a better name
29 inBrowser, _ := strconv.ParseBool(os.Getenv("START_WEB_TERMINAL"))
30 return inBrowser
31}
32
33func IsCI() bool {
34 ci, err := strconv.ParseBool(os.Getenv("CI"))

Callers 1

postRunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected