Answers for "check if an object is null laravel"

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 an object is null laravel"

Browse Popular Code Answers by Language