Skip to content

Kirby 6.0.0

$versions->isOdd()

Checks if the number of elements is odd

$versions->isOdd(): bool

Return type

bool

Parent class

Kirby\Content\Versions inherited from Kirby\Toolkit\Collection