{{deprecatedin|[[11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.filesystem.getInfo]]}}
Check whether something is a directory.
== Function ==
=== Synopsis ===
<source lang="lua">
isDir = love.filesystem.isDirectory( filename )
</source>
=== Arguments ===
{{param|string|filename|The path to a potential directory.}}
=== Returns ===
{{param|boolean|isDir|True if there is a directory with the specified name. False otherwise.}}
== See Also ==
* [[parent::love.filesystem]]
* [[love.filesystem.isFile]]
[[Category:Functions]]
{{#set:Description=Check whether something is a directory.}}
{{#set:Since=000}}

== Other Languages ==
{{i18n|love.filesystem.isDirectory}}