Skip to main content
envIsNull(key): boolean
Defined in: packages/env-utilities/src/lib/utils.ts:76 Checks if the value of the specified environment variable is null.

Parameters

key

keyof Env The name of the environment variable.

Returns

boolean Whether the value of the specified environment variable is:
  • The string "0"
  • The string "null", case insensitive