Skip to content

Kirby 5.0.4

$hasFiles->hasCode()

Checks if the Files collection has any code files

$hasFiles->hasCode(): bool

Return type

bool

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

Parent class

Kirby\Cms\HasFiles