menu 8 Menu Overview Dir::isEmpty() Checks if the folder has any contents Dir::isEmpty(string $dir): bool Parameters Name Type Default Description $dir string – Return type bool Source code kirby/src/Toolkit/Dir.php#L165