Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if object is empty

// Check if object is empty
$data = [];
if(blank($data)){
// This object is empty           
}
 
PREVIOUS NEXT
Tagged: #laravel #check #object #empty
ADD COMMENT
Topic
Name
8+1 =