Skip to content

Kirby 4.4.1

F::exists()

Checks if the file exists on disk

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

Parameters

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

Return type

bool

Parent class

Kirby\Filesystem\F