Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.bufloaded

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.bufloaded
import { fn } from "https://deno.land/x/ddc_vim@v3.9.0/deps.ts";
const { bufloaded } = fn;

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>