import { nvim_buf_is_loaded } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";
Checks if a buffer is valid and loaded. See api-buffer
for more info
about unloaded buffers.
Parameters:
- {buffer} Buffer handle, or 0 for current buffer
Return: true if the buffer is valid and loaded, false otherwise.
Parameters
denops: Denops