Skip to content

Kirby 4.4.1

$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