Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.isdirectory

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.isdirectory
import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/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<number>