Skip to content

Kirby 6.0.0

$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

Parent class

Kirby\Cms\Role