Difference between revisions of "love.filesystem.isDirectory"

m (1 revision: Importing from potato (again).)
m (included link to other languages)
Line 1: Line 1:
 
 
Check whether something is a directory.
 
Check whether something is a directory.
 
== Function ==
 
== Function ==
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether something is a directory.}}
 
{{#set:Description=Check whether something is a directory.}}
 +
== Other Languages ==
 +
{{i18n|love.filesystem.isDirectory}}

Revision as of 22:55, 3 January 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