One of the EnvVariable enum values.
OptionalskipCheck: TIf true, the function does not throw when the value is missing and returns string | undefined.
Useful for optional vars (e.g. getEnv(EnvVariable.TURNSTILE_KEY, true)).
The env value. When skipCheck is true, the type is string | undefined; otherwise string (throws before returning if missing).
Reads an environment variable and throws if it's missing (unless
skipCheckistrue). Use this for required configuration values.