Module

x/nessie/deps.ts>CliffyCommand#hasEnvVar

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Latest
method CliffyCommand.prototype.hasEnvVar
import { CliffyCommand } from "https://dotland.deno.dev/x/nessie@2.0.11/deps.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