Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
...
Boolean (true/false)
Example
Code Block | language | js
---|
string dir = "C:/myDirectory"; if(directoryExists(dir)){ print("The directory exists!"); } else { if(!createDirectory(dir)){ print("Failed to create directory " + dir); } } |
Note |
---|
It is recommended that you use forward slashes ( / ) for file paths. |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|