@ai16z/eliza v0.1.6-alpha.4 / 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