Skip to content

Kirby 4.2.0

$segments->isEmpty()

Checks if the number of elements is zero

$segments->isEmpty(): bool

Return type

bool

Parent class

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