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