Palzin Track
Get 15% off with code PTRACKSIGNUP15 

Laravel Diary Logo

Laravel Collection Public API: has

The has method checks if an item exists in a collection based on a given key. It returns true if the item exists and false if it does not. Use it to easily determine item existence in a collection.