Difference between revisions of "love.filesystem.isDirectory"

m (See Also)
m (Changed version from 0.11.0 to 11.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{deprecatedin|[[11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.filesystem.getInfo]]}}
 
Check whether something is a directory.
 
Check whether something is a directory.
 
== Function ==
 
== Function ==

Latest revision as of 18:26, 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 directory.

Function

Synopsis

isDir = love.filesystem.isDirectory( filename )

Arguments

string filename
The path to a potential directory.

Returns

boolean isDir
True if there is a directory with the specified name. False otherwise.

See Also


Other Languages