Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.eval_

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

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 Funcrefs that refer to existing functions.

Can also be used as a method:

argv->join()->eval()

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>