Lua Methods Reference > General Methods > is_dir

is_dir
The is_dir method checks if the supplied path is a directory.
Syntax
is_dir( path )
Arguments
 
Returns
(Boolean). Returns true if the supplied path is a directory, false otherwise.