Difference between revisions of "love.filesystem.isFile"

m
(Added deprecation notice)
Line 1: Line 1:
 +
{{deprecatedin|[[0.11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.filesystem.getInfo]]}}
 
Check whether something is a file.
 
Check whether something is a file.
 
== Function ==
 
== Function ==

Revision as of 03:00, 1 April 2018

Deprecated in LÖVE 0.11.0
This function is deprecated and is replaced by love.filesystem.getInfo.

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


Other Languages