Skip to content

Kirby 5.0.4

F::exists()

Checks if the file exists on disk

F::exists(string $file, string|null $in = null): bool

Parameters

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

Return type

bool

Parent class

Kirby\Filesystem\F