Skip to main content
Module

x/denops_std/function/mod.ts>hlexists

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

The result is a Number, which is TRUE if a highlight group called {name} exists. This is when the group has been defined in some way. Not necessarily when highlighting has been defined for it, it may also have been used for a syntax item. Obsolete name: highlight_exists(). Can also be used as a |method|: GetName()->hlexists()

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>