Dir::isEmpty()
Checks if the folder has any contents
Dir::isEmpty(string $dir): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $dirrequired | string |
no default value |
Return type
bool
Checks if the folder has any contents
Dir::isEmpty(string $dir): bool
| Name | Type | Default |
|---|---|---|
| $dirrequired | string |
no default value |
bool