RosettaCodeData/Task/Empty-directory/Perl-6/empty-directory.pl6

2 lines
37 B
Raku

sub dir-is-empty ($d) { not dir $d }