Skip to content

Kirby 4.5.0

$layouts->isEven()

Checks if the number of elements is even

$layouts->isEven(): bool

Return type

bool

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection