Skip to main content
Module

x/denops_std/function/mod.ts>isdirectory

📚 Standard module for denops.vim
Go to Latest
function isdirectory
import { isdirectory } from "https://deno.land/x/denops_std@v4.1.4/function/mod.ts";

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>