$block->is()
Compares the item to another one
$block->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 $block object it is applied to and returns it again.
Parent class
Kirby\Cms\Block
inherited from Kirby\Cms\Item