format
typescript
Directory.IsEmpty(path)class: Directory
description
Determines whether the specified path is empty.
Since this is a class for manipulating directories, passing a file name will return false.
parameter
| param_name | type | description |
|---|---|---|
| path | string | The specified path. |
return
| type | description |
|---|---|
boolean | True if the path is empty; otherwise, false. |
