1 @empty($products)
2 <p class="bg-danger text-white p-1">product</p>
3@else
4 <p class="bg-danger text-white p-1">no product</p>
5 @endempty
1@isset($records)
2 // $records is defined and is not null...
3@endisset
4
5@empty($records)
6 // $records is "empty"...
7@endempty