Difference between revisions of "love.filesystem.exists"

Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether a file or directory exists.}}
 
{{#set:Description=Check whether a file or directory exists.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.exists}}
 
{{i18n|love.filesystem.exists}}

Revision as of 09:38, 25 March 2011

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