$role->is()
Compares the current object with the given role object
$role->is(Role|null $role = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $role | Kirby\Cms\Roleornull |
null
|
Return type
bool
Compares the current object with the given role object
$role->is(Role|null $role = null): bool
| Name | Type | Default |
|---|---|---|
| $role | Kirby\Cms\Roleornull |
null
|
bool