Skip to content

Kirby 4.1.2

$user->isAdmin()

Checks if this user has the admin role

$user->isAdmin(): bool

Return type

bool

Parent class

Kirby\Cms\User