Skip to main content
Module

x/denops_std/function/mod.ts>has_key

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

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>