Module

x/cliffy/command.ts>BaseCommand#hasEnvVar

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method BaseCommand.prototype.hasEnvVar
import { BaseCommand } from "https://dotland.deno.dev/x/cliffy@v0.6.0/command.ts";

Checks whether the command has an environment variable with given name or not.

Parameters

name: string

Name of the environment variable.

Returns

boolean