Skip to main content
Module

x/ddc_vim/deps.ts>fn.isdirectory

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

The result is a Number, which is |TRUE| when a directory with the name {directory} exists. If {directory} doesn't exist, or isn't a directory, the result is |FALSE|. {directory} is any expression, which is used as a String. Can also be used as a |method|: GetName()->isdirectory()

Parameters

denops: Denops
directory: unknown

Returns

Promise<unknown>