Skip to content

Kirby 4.5.0

$asset->exists()

Checks if the file exists on disk

$asset->exists(): bool

Return type

bool

Parent class

Kirby\Filesystem\Asset