Skip to main content
Module

x/ddc_vim/deps.ts>fn.reltimefloat

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

Return a Float that represents the time value of {time}. Example: let start = reltime() call MyFunction() let seconds = reltimefloat(reltime(start)) See the note of reltimestr() about overhead. Also see |profiling|. Can also be used as a |method|: reltime(start)->reltimefloat() {only available when compiled with the |+reltime| feature}

Parameters

denops: Denops
time: unknown

Returns

Promise<unknown>