Skip to content

Kirby 4.1.2

$file->exists()

Checks if the file exists on disk

$file->exists(): bool

Return type

bool

Parent class

Kirby\Cms\File