Skip to content

os.isdir

Jason Perkins edited this page May 15, 2015 · 3 revisions

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

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.

Availability

Premake 4.0 or later.

See Also

Clone this wiki locally