love.filesystem.exists

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