Skip to content

Kirby 4.7.2

Dir::exists()

Checks if the directory exists on disk

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

Parameters

Name Type Default
$dir * string
$in string|null null

Return type

bool

Parent class

Kirby\Filesystem\Dir