Difference between revisions of "love.filesystem.isDirectory"

m (included link to other languages)
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether something is a directory.}}
 
{{#set:Description=Check whether something is a directory.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.isDirectory}}
 
{{i18n|love.filesystem.isDirectory}}

Revision as of 09:40, 25 March 2011

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