Skip to content

Kirby 4.2.0

$asset->exists()

Checks if the file exists on disk

$asset->exists(): bool

Return type

bool

Parent class

Kirby\Filesystem\Asset