Skip to content

Kirby 4.5.0

$segments->isEven()

Checks if the number of elements is even

$segments->isEven(): bool

Return type

bool

Parent class

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