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@v6.4.0/function/buffer.ts";

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

Can also be used as a method:

let listed = 'somename'->buflisted()

Returns

Promise<boolean>