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

x/dtils/env.ts>getShouldDeploy

The best unofficial library of utilities for Deno applications
Go to Latest
function getShouldDeploy
import { getShouldDeploy } from "https://deno.land/x/dtils@2.3.1/env.ts";

Get the current deployment disposition ($DEPLOY). Assumes false if unset, 0, or false

Returns

boolean