Skip to main content
Latest
method cli.Command.prototype.hasEnvVar
Re-export
import { cli } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Command } = cli;

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