Available since Version 1.0.
Checks if a directory exists at the specified path.
Syntax
Directory.Exists( path );Arguments
- path (string): The path of the directory to check.
Return Values
- (boolean): Returns true if the directory exists, or false if it does not exist or if the path is invalid.
Examples
if Directory.Exists("my_directory") then
print("Directory exists!")
end