Skip to content

Kirby 5.1.3

$hasFiles->hasVideos()

Checks if the Files collection has any videos

$hasFiles->hasVideos(): bool

Return type

bool

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

Parent class

Kirby\Cms\HasFiles