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

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


os.isfile

The os.isfile function checks for the existence of file.

#!lua
os.isfile("path")

Parameters

path is the file system path to check.

Return Value

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

Clone this wiki locally