$hasFiles->hasDocuments()
Checks if the Files collection has any document files
$hasFiles->hasDocuments(): bool
Return type
bool
This method modifies the existing $hasfiles object it is applied to and returns it again.
Parent class
Kirby\Cms\HasFiles