Dir::isEmpty()
Checks if the folder has any contents
Parameters
Name | Type | Default |
---|---|---|
$dir * | string |
– |
Return type
bool
Parent class
Kirby\Cms\Dir
inherited from Kirby\Toolkit\Dir
Checks if the folder has any contents
Name | Type | Default |
---|---|---|
$dir * | string |
– |
bool
Kirby\Cms\Dir
inherited from Kirby\Toolkit\Dir