DirectoryExists
Checks if the given directory exists.
DirectoryExists(dir) : true | falseFolderExists(dir) : true | false
Example
Checks if the folder myfolder
exists in the scripts directory.
local exists = DirectoryExists('scripts/myfolder')