Skip to content

Kirby 4.5.0

$structureobject->is()

Compares the item to another one

$structureobject->is(Kirby\Cms\Item $item): bool

Parameters

Name Type Default
$item * Kirby\Cms\Item

Return type

bool

Parent class

Kirby\Cms\StructureObject inherited from Kirby\Cms\Item