ternary
Ternary operator for Blade.
{{ (Auth::user()->check()) ? 'You are logged in' : 'Please log in' }}
copy
Ternary operator for Blade.
{{ (Auth::user()->check()) ? 'You are logged in' : 'Please log in' }}
copy