Skip to content

Kirby 4.5.0

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