Skip to content

format

typescript
Directory.Delete(path)

class: Directory

description

Deletes the directory at the specified path.

If the directory contains files and subdirectories, it recursively deletes all child resources.

parameter

param_nametypedescription
pathstringThe specified path.

return

typedescription
booleanWhether the operation was successful.

code example