if(!$bookingLists->count()) { } else { }
joshpennington liked this reply
First thing to understand is that it is not an array but a Collection. As collection there are different ways to process it further > https://laravel.com/docs/11.x/collections - check if empty, filter, map, loop and etc..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community