$page->hasDrafts()
Checks if the model has any draft children
$page->hasDrafts(): boolReturn 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(): boolbool
This method modifies the existing $page object it is applied to and returns it again.