W3cubDocs

/LÖVE

love.filesystem.isFile

Check whether something is a file.

Function

Synopsis

isFile = love.filesystem.isFile( filename )

Arguments

string filename
The path to a potential file.

Returns

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

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.isFile