Skip to content

Kirby 4.4.1

$user->isAdmin()

Checks if this user has the admin role

$user->isAdmin(): bool

Return type

bool

Parent class

Kirby\Cms\User