Skip to content

Kirby 4.2.0

$item->is()

Compares the item to another one

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

Parameters

Name Type Default
$item * Kirby\Cms\Item

Return type

bool

Parent class

Kirby\Cms\Item