256 Kilobytes

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:19 -0800

269 views, 0 RAMs, and 2 comments

Tags: Laravel, Laravel Collections

Profile Photo - Some Guy Some Guy
🗎 3224 🗨 41 🐏 31


Download more RAM. 🐏 ⨉ 0 Posted by Some Guy 11 months ago 🕓 Posted at 02 December, 2018 03:44 AM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - Univa Univa
🗎 0 🗨 175 🐏 5

To determine if the collection is empty you can do any of the following:

         // $result is not empty
        // $result is empty

or can also use

if (!$result) { }
if ($result) { } 
if (!$result->isEmpty()) { }
Download more RAM. 🐏 ⨉ 0 Posted by Univa 5 months ago

Edit History

• [2019-06-01 9:20 PDT] Univa (5 months ago)
• [2019-06-01 9:20 PDT] August R. Garcia (5 months ago)
🕓 Posted at 01 June, 2019 09:20 AM PDT


Profile Photo - Scuffed Dog Scuffed Dog Horse racing tipster Horseshoe Bay
🗎 0 🗨 74 🐏 37
Quality User

Thank you Univa, you're a very smart gentleman and also a nice companion in life.

Users Who Have Downloaded More RAM:
eeeeeeee (5 months ago)
🐏 ⨉ 1
Posted by Scuffed Dog 5 months ago 🕓 Posted at 03 June, 2019 09:12 AM PDT

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.