Skip to content

Kirby 6.0.0

$versionId->is()

Compares a VersionId object or string value with this id

$versionId->is() 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.

$versionId->is(VersionId|string $id): bool

Parameters

Name Type Default
$idrequired Kirby\Content\VersionIdorstring no default value

Return type

bool

Parent class

Kirby\Content\VersionId