Palzin Track
Get 15% off with code PTRACKSIGNUP15 

Laravel Diary Logo

Laravel Collection Public API: whereInLoose

The whereInLoose method in Laravel's collection allows you to filter the collection based on a given key and an array of possible values, without performing type checking. It is similar to the whereIn method, but does not require a third argument. This method returns a new modified Collection instance, without changing the original instance.