Skip to content

Kirby 5.0.4

Dir::exists()

Checks if the directory exists on disk

Dir::exists(string $dir, string|null $in = null): bool

Parameters

Name Type Default
$dirrequired string no default value
$in stringornull null

Return type

bool

Parent class

Kirby\Filesystem\Dir