Difference between revisions of "love.filesystem.isFile"

m
Line 11: Line 11:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 +
* [[love.filesystem.isDirectory]]
 +
* [[love.filesystem.exists]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Check whether something is a file.}}
 
{{#set:Description=Check whether something is a file.}}

Revision as of 20:10, 9 September 2014

Check whether something is a file.

Function

Synopsis

is_file = love.filesystem.isFile( filename )

Arguments

string filename
The path to a potential file.

Returns

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

See Also


Other Languages