Difference between revisions of "love.filesystem.exists"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 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