Skip to main content
Module

x/denops_std/function/mod.ts>bufloaded

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

The result is a Number, which is TRUE if a buffer called {buf} exists and is loaded (shown in a window or hidden). The {buf} argument is used like with bufexists().

Can also be used as a method:

let loaded = 'somename'->bufloaded()

Returns

Promise<boolean>