isfolder
isfolder checks whether a given path exists and refers to a folder.
This is useful when verifying that a directory exists before writing files into it or listing its contents.
Parameters
| Parameter | Description |
|---|---|
path |
The path to check. |