Skip to main content
Module

x/ddc_vim/deps.ts>fn.getenv

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.getenv
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { getenv } = fn;

Return the value of environment variable {name}. When the variable does not exist |v:null| is returned. That is different from a variable set to an empty string, although some systems interpret the empty value as the variable being deleted. See also |expr-env|. Can also be used as a |method|: GetVarname()->getenv()

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>