Skip to content

Kirby 5.1.2

$version->isLatest()

Checks if the version is the latest version

$version->isLatest() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$version->isLatest(): bool

Return type

bool

This method modifies the existing $version object it is applied to and returns it again.

Parent class

Kirby\Content\Version