If logged in user had ‘superuser’ role

Laraship QuestionsCategory: TechnicalIf logged in user had ‘superuser’ role
Matt asked 4 years ago
A very simple one that I can't get my head around. What do I need to call to check if the current logged in user is a superuser?
1 Answers
laraship Staff answered 4 years ago
Hello, There is a helper function defined at Foundation/Helpers/auth.php
isSuperUser(user())