laravel check if empty object code example
Example: laravel check if object empty
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif