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