$item->is()
Compares the item to another one
$item->is(Kirby\Cms\Item $item): bool
Parameters
Name | Type | Default |
---|---|---|
$itemrequired | Kirby\Cms\Item |
no default value |
Return type
bool
This method modifies the existing $item
object it is applied to and returns it again.