love.filesystem.isDirectory

Check whether something is a directory.

Function

Synopsis

is_dir = love.filesystem.isDirectory( filename )

Arguments

string filename
The path to a potential directory.

Returns

boolean is_dir
True if there is a directory with the specified name. False otherwise.

See Also


Other Languages