Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 444 Bytes

hasEnvVariable.md

File metadata and controls

23 lines (12 loc) · 444 Bytes

@ai16z/eliza v0.1.5-alpha.3 / hasEnvVariable

Function: hasEnvVariable()

hasEnvVariable(key): boolean

Checks if a specific environment variable exists

Parameters

key: string

The environment variable key

Returns

boolean

True if the environment variable exists

Defined in

packages/core/src/settings.ts:118