Skip to main content
Module

x/alfredo/deps.ts>Command#hasEnvVar

Your Alfred workflows on steroids with Deno
Latest
method Command.prototype.hasEnvVar
Re-export
import { Command } from "https://deno.land/x/alfredo@0.4.3/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