Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/mod.ts>environ

๐Ÿ“š Standard module for denops.vim
Go to Latest
function environ
import { environ } from "https://deno.land/x/denops_std@v3.9.0/function/mod.ts";

Return all of environment variables as dictionary. You can check if an environment variable exists like this: :echo has_key(environ(), 'HOME') Note that the variable name may be CamelCase; to ignore case use this: :echo index(keys(environ()), 'HOME', 0, 1) != -1

Returns

Promise<unknown>