What is the difference between the two sample codes below the second returns an error I don't know why
@if ( auth()->check() )
Welcome {{ Auth::user()->name }}
and this
@if ( {{auth::check() }} )
Welcome {{ Auth::user()->name }}
Both are in a blade file. Please lets discuss this for better understanding. Also please indicate which is better to use in both scenarios