Difference between revisions of "love.filesystem.isDirectory"

m
m (See Also)
Line 11: Line 11:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 +
* [[love.filesystem.isFile]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether something is a directory.}}
 
{{#set:Description=Check whether something is a directory.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.isDirectory}}
 
{{i18n|love.filesystem.isDirectory}}

Revision as of 10:08, 26 January 2016

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