Difference between revisions of "love.filesystem.isFile"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Check whether something is a file.
 
== 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 file.}}

Revision as of 16:17, 14 February 2010

Check whether something is a file.

Function

Synopsis

is_file = love.filesystem.isFile( filename )

Arguments

string filename
The path to a potential file.

Returns

boolean is_file
True if there is a file with the specified name. False otherwise.

See Also