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

x/ddu_vim/deps.ts>fn.isdirectory

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