Skip to content

Kirby 4.2.0

$hasfiles->hasImages()

Checks if the Files collection has any images

$hasfiles->hasImages(): bool

Return type

bool

Parent class

Kirby\Cms\HasFiles