Skip to main content
Module

x/denops_std/function/mod.ts>eval_

📚 Standard module for denops.vim
Go to Latest
function eval_
import { eval_ } from "https://deno.land/x/denops_std@v4.1.4/function/mod.ts";

Evaluate {string} and return the result. Especially useful to turn the result of |string()| back into the original value. This works for Numbers, Floats, Strings, Blobs and composites of them. Also works for |Funcref|s that refer to existing functions. Can also be used as a |method|: argv->join()->eval()

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>