Skip to main content
Module

x/ddu_vim/deps.ts>fn.has_key

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.has_key
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { has_key } = fn;

The result is a Number, which is TRUE if |Dictionary| {dict} has an entry with key {key}. FALSE otherwise. The {key} argument is a string. Can also be used as a |method|: mydict->has_key(key)

Parameters

denops: Denops
dict: unknown
key: unknown

Returns

Promise<unknown>