Level 58
One way to achieve this is by chaining the count() method after take($amount) and comparing it to $amount. If the count is less than $amount, then throw an error.
Example code:
$collection = collect([1, 2, 3, 4, 5]);
$amount = 3;
if ($collection->take($amount)->count() < $amount) {
throw new Exception("Not enough items in collection");
}