checkEnv(
meta,env?):EnvCheckResult
Defined in: env.ts:118
Validate env against meta.
This is a pure helper used by the CLI (and can be used in apps/CI too).
Note: ok here means:
- no missing required vars
- no unknown vars
The CLI may choose to ignore unknown unless --strict is enabled.
If you want "missing only" checks, use getMissingEnv.
Parameters
meta
env?
ProcessEnv = process.env
Returns
Since
1.2.0