Skip to main content
Module

x/scaffold/src/deps/cli.ts>Command#hasEnvVar

scaffold your next project with style and 💗
Latest
method Command.prototype.hasEnvVar
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.ts";

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

Parameters

name: string

Name of the environment variable.

optional
hidden: boolean

Include hidden environment variable.

Returns

boolean