import { nvim_buf_is_valid } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";
Checks if a buffer is valid. Note: Even if a buffer is valid it may have been unloaded. 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, false otherwise.
Parameters
denops: Denops