Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if object empty

@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
 
PREVIOUS NEXT
Tagged: #laravel #check #object #empty
ADD COMMENT
Topic
Name
8+8 =