collection empty laravel
snippet in php

collection empty laravel

user299

$isempty = $collection->isEmpty();