Skip to content

Kirby 4.4.1

$layout->is()

Compares the item to another one

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

Parameters

Name Type Default
$item * Kirby\Cms\Item

Return type

bool

Parent class

Kirby\Cms\Layout inherited from Kirby\Cms\Item