Skip to content

Kirby 4.5.0

$layouts->isNotEmpty()

Checks if the number of elements is more than zero

$layouts->isNotEmpty(): bool

Return type

bool

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection