Cara Memeriksa Menggunakan Penjaga Apa di Laravel 8

@if(Auth::guard('admin')->check())
    Hello {{Auth::guard('admin')->user()->name}}
@elseif(Auth::guard('user')->check())
    Hello {{Auth::guard('user')->user()->name}}
@endif
Spotless Serval