Difference between revisions of "love.filesystem.isDirectory"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Check whether something is a directory.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Check whether something is a directory.}}

Revision as of 16:17, 14 February 2010

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