Difference between revisions of "love.filesystem.exists"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Check whether a file or directory exists.
 
Check whether a file or directory exists.
 
== Function ==
 
== Function ==
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether a file or directory exists.}}
 
{{#set:Description=Check whether a file or directory exists.}}
 +
== Other Languages ==
 +
{{i18n|love.filesystem.exists}}

Revision as of 09:50, 26 October 2010

Check whether a file or directory exists.

Function

Synopsis

e = love.filesystem.exists( filename )

Arguments

string filename
The path to a potential file or directory.

Returns

boolean e
True if there is a file or directory with the specified name. False otherwise.

See Also

Other Languages