MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getEnvironmentVariable

Function getEnvironmentVariable

packages/components/src/utils.ts:538–544  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

536 * @returns {string | undefined}
537 */
538export const getEnvironmentVariable = (name: string): string | undefined => {
539 try {
540 return typeof process !== 'undefined' ? process.env?.[name] : undefined
541 } catch (e) {
542 return undefined
543 }
544}
545
546/**
547 * Returns the path of encryption key

Callers 7

constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
getLangSmithEnvConfigFunction · 0.90
tryGetJsonSpacesFunction · 0.90
constructorMethod · 0.90
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected