Skip to content

Kirby 4.1.2

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