lâmina de laravel se houver links

/*This works perfectly. Check if $products is an instance of 
Illuminate\Pagination\LengthAwarePaginator then display the pagination links. */

@if($products instanceof \Illuminate\Pagination\LengthAwarePaginator )

   {{$products->links()}}

@endif
D3signa