Is it possible to check into a blade view if @yield have content or not?
I am trying to assign the page titles in the views:
@section(\"title\", \"hi wor
New in Laravel 7.x -- sectionMissing():
sectionMissing()
@hasSection('name') @yield('name') @else @yield('alternative') @endif
Check if section is missing:
@sectionMissing('name') @yield('alternative') @endif