MCPcopy Create free account
hub / github.com/Effect-TS/effect / getEnv

Function getEnv

packages/effect/src/internal/configProvider.ts:111–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 const unmakePathString = (pathString: string): ReadonlyArray<string> => pathString.split(pathDelim)
110
111 const getEnv = () =>
112 typeof process !== "undefined" && "env" in process && typeof process.env === "object" ? process.env : {}
113
114 const load = <A>(
115 path: ReadonlyArray<string>,

Callers 2

loadFunction · 0.85
enumerateChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…