Dir::isEmpty() Checks if the folder has any contents kirby/src/Toolkit/Dir.php#L165 Dir::isEmpty(string $dir): bool Parameters Name Type Default $dir * string – Return type bool Parent class Kirby\Toolkit\Dir