$hasChildren->hasChildren()
Checks if the model has any published children
$hasChildren->hasChildren(): bool
Return type
bool
This method modifies the existing $haschildren object it is applied to and returns it again.
Parent class
Kirby\Cms\HasChildren