love.filesystem.isDirectory

Deprecated in LÖVE 11.0
This function is deprecated and is replaced by love.filesystem.getInfo.

Check whether something is a directory.

Function

Synopsis

isDir = love.filesystem.isDirectory( filename )

Arguments

string filename
The path to a potential directory.

Returns

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

See Also


Other Languages