/
directoryExists
directoryExists
Description
Returns "true" if the directory exists and "false" otherwise.
Parameters
Return Type
Boolean (true/false)
Example
if(directoryExists("C:/myDirectory")){
print("The directory exists!");
} else {
print("The directory does not exist!");
}
It is recommended that you use forward slashes ( / ) for file paths.
See also
, multiple selections available,
Related content
createFile
createFile
Read with this
directoryExists
directoryExists
More like this
Syntax and types introduction
Syntax and types introduction
Read with this
directoryExists
directoryExists
More like this
Operators reference
Operators reference
Read with this
createDirectory
createDirectory
More like this