Skip to content

Kirby 5.3.1

$image->exists()

Checks if the file actually exists

$image->exists(): bool

Return type

bool

This method modifies the existing $image object it is applied to and returns it again.

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File