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.min

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

echo min([apples, pears, oranges]) {expr} can be a |List| or a |Dictionary|. For a Dictionary, it returns the minimum of all values in the Dictionary. If {expr} is neither a List nor a Dictionary, or one of the items in {expr} cannot be used as a Number this results in an error. An empty |List| or |Dictionary| results in zero. Can also be used as a |method|: mylist->min()

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>