$blocks->isNotEmpty()
Checks if the number of elements is more than zero
$blocks->isNotEmpty(): bool
Return type
bool
This method modifies the existing $blocks
object it is applied to and returns it again.
Parent class
Kirby\Cms\Blocks
inherited from Kirby\Toolkit\Collection