$block->is()
Compares the item to another one
$block->is(Item $item): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $itemrequired | Kirby\Cms\Item |
no default value |
Return type
bool
Parent class
Kirby\Cms\Block
inherited from Kirby\Cms\Item
Compares the item to another one
$block->is(Item $item): bool
| Name | Type | Default |
|---|---|---|
| $itemrequired | Kirby\Cms\Item |
no default value |
bool
Kirby\Cms\Block
inherited from Kirby\Cms\Item