Skip to main content
Module

x/nessie/deps.ts>CliffyCommand#hasEnvVar

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.hasEnvVar
Re-export
import { CliffyCommand } from "https://deno.land/x/nessie@2.0.7/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