$page->hasDrafts()
Checks if the model has any draft children
$page->hasDrafts(): bool
Return type
bool
This method modifies the existing $page
object it is applied to and returns it again.
Checks if the model has any draft children
$page->hasDrafts(): bool
bool
This method modifies the existing $page
object it is applied to and returns it again.