Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > os.isdir


os.isdir

The os.isdir function checks for the existence of directory.

#!lua
os.isdir("path")

Parameters

path is the file system path to check.

Return Value

True if a matching directory is found; false is there is no such file system path, or if the path points to a file instead of a directory.

Clone this wiki locally