Skip to content

Kirby 5.1.4

$hasFiles->hasImages()

Checks if the Files collection has any images

$hasFiles->hasImages(): bool

Return type

bool

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

Parent class

Kirby\Cms\HasFiles