Difference between revisions of "love.filesystem.isFile"

(Added deprecation notice)
m (Changed version number from 0.11.0 to 11.0)
 
Line 1: Line 1:
{{deprecatedin|[[0.11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.filesystem.getInfo]]}}
+
{{deprecatedin|[[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 ==

Latest revision as of 18:24, 3 April 2018

Deprecated in LÖVE 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