Skip to content

Kirby 4.4.1

Dir::exists()

Checks if the directory exists on disk

Dir::exists(string $dir): bool

Parameters

Name Type Default
$dir * string

Return type

bool

Parent class

Kirby\Filesystem\Dir