Skip to content

Kirby 6.0.0

$versions->isNotEmpty()

Checks if the number of elements is more than zero

$versions->isNotEmpty(): bool

Return type

bool

Parent class

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