Skip to content

Kirby 6.0.0

$lazyCollection->isNotEmpty()

Checks if the number of elements is more than zero

$lazyCollection->isNotEmpty(): bool

Return type

bool

Parent class

Kirby\Cms\LazyCollection inherited from Kirby\Toolkit\Collection