Answers for "check if object is empty + php blade"

PHP
0

laravel check if object empty

@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
Posted by: Guest on July-13-2020
0

laravel check if object is empty

// Check if object is empty
$data = [];
if(blank($data)){
// This object is empty           
}
Posted by: Guest on August-02-2021

Code answers related to "check if object is empty + php blade"

Browse Popular Code Answers by Language