MCPcopy Create free account
hub / github.com/Kong/insomnia / getEnvironmentVariable

Function getEnvironmentVariable

packages/insomnia/src/plugins/context/request.ts:56–58  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

54 },
55
56 getEnvironmentVariable(name: string): string | number | boolean | Record<string, any> | any[] | null {
57 return renderedContext[name];
58 },
59
60 getEnvironment() {
61 return renderedContext;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected