Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/env/env.js>Env#has

A utility for verifying environment variables are present
Latest
method Env.prototype.has
import { Env } from "https://deno.land/x/env@v3.0.5/env.js";

Determines if a given environment variable exists.

Parameters

key

The environment variable name to check.