Skip to content

Kirby 4.2.0

$segments->isNotEmpty()

Checks if the number of elements is more than zero

$segments->isNotEmpty(): bool

Return type

bool

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Collection