checkEnv(
meta,env):EnvCheckResult
Defined in: env.ts:104
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 (because this function is strict by definition)
If you want "missing only" checks, use getMissingEnv.
Parameters
meta
env
ProcessEnv = process.env
Returns
Since
1.1.0