Skip to main content

@elizaos/core v0.1.7-alpha.2 / 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:131