Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v5.0.2/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<number>