Skip to content

Kirby 6.0.0

$lazyCollection->isEmpty()

Checks if the number of elements is zero

$lazyCollection->isEmpty(): bool

Return type

bool

Parent class

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