Skip to main content
Module

x/denops_std/function/buffer.ts>buflisted

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

The result is a Number, which is |TRUE| if a buffer called {expr} exists and is listed (has the 'buflisted' option set). The {expr} argument is used like with |bufexists()|.

Parameters

denops: Denops
expr: string | number

Returns

Promise<boolean>